How can I preserve previous android intent value when I press the back or up button?

artistest

New member
May 6, 2016
1
0
0
I have a list view in the previous intent and when I tap on that it go to the next activity. Now when I press the back button or up button it comes back to the previous activity. But when I tap the list item again it give me run time Unexpectedly app closed error. Please help me.
 

Forum statistics

Threads
955,933
Messages
6,966,134
Members
3,163,432
Latest member
Jvwtmm12