Click here to Skip to main content
15,896,526 members

Comments by howtocode101 (Top 5 by date)

howtocode101 3-Jul-19 21:13pm View    
Latest code crashed but when removing this code in mainactivity "value1 = Integer.parseInt(tvtotal.getText().toString());
value2 = Integer.parseInt(tvtotal2.getText().toString());
value3 = value1-value2;", it is able to run the code normally.
howtocode101 2-Jul-19 12:21pm View    
Nope. The adapters are separated. I have updated the full code.
howtocode101 1-Jul-19 2:40am View    
I see. Is there any way to return the value of "totalPrice2" and "totalPrice" from its for loop? They are in the void method so i could not return the value to the main method.
howtocode101 28-Jun-19 20:25pm View    
Hi, i have already update my logcat
howtocode101 28-Jun-19 11:26am View    
No. I cant get value 1 and 2. Manage to compile but could not the app is force close. Logcat shows highlight starts at value 1 line.