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?
You can use this code to create a persistent highlight:
B4X:
Dim jo As JavaObject = ListView1
Dim cd As ColorDrawable
cd.Initialize(Colors.Red, 0) 'change as needed.
jo.RunMethod("setChoiceMode", Array(1))
jo.RunMethod("setSelector", Array(cd))