Android Question Listview - highlight the last item pressed

select

Member
Licensed User
Longtime User
Hello, I've an activity with a listview.
When I press an item of listview my app start another activity.
With "back" button it come back in the first activity with listview.
It's possible, in this moment, highlight the last item pressed of the listview?
 
Thankyou Erel!

When I try it say:

Code: Copy
Parsing code.                           0.02
Compiling code.                         Error
Error compiling program.
Error description: 'as' expected.
Occurred on line: 101
   jo.RunMethod("setChoiceMode", Array(1))
Word: (

I probably did not understand how to use your code...
 
Upvote 0
Back
Top