I am making a restaurant recommender system using Zomato's api. Zomato only allows 20 restaurant per query (with a max of 100 restaurant), so I have to query 5 times to get the most. I put the query in a list and display it through TextView (and ImageView for the thumbnail).
I want to create a button over the list of the restaurants that are displayed, for sorting. So there will be a "Price" button, "Distance" button, "Rating" button, where they will sort the list based on what it's written. But I don't know if it's possible to dynamically sort the TextView without clearing the list...
Sorry for bad English :)
Thank you so much