Hi !
On Android, I have a TableView with 100 items. I created a searchBar in order to filter the list. The searchBar works fine, if i search "test" for example, it displays 20 items.
But if I click on an item (I open a new view) and press back button (I come back to my TableView), the list is still the good one (20 items) but my searchBar value is empty, the search "test" disappear.
Is there a way to keep the value of my searchBar ? Else how can i do ?
TY for your help ;)
1 Answer
You can store the last search value and just re-populate that field when the window comes back into focus.
Your Answer
Think you can help? Login to answer this question!