I'm wondering right now how to implement following functionality in best and most reusable way.
Whe then user clicks an item in the ListView
, he goes to DetailsActivity
, but when he comes back to ListActivity
item that he clicked before is shown as first in the list
.
I'm wondering should I implement some kind of sorting in listview
or in adapter
. Which way would be most reusable and generic eg. clicked item is excluded?