So guys, my question is this:
I have ListView
which is popular for a request to my Web service REST. Each item of this ListView
has a button. By clicking this button, the user logged in to the application will be able to "follow" or "discontinue" the entity represented in the item (something similar to what happens when you "follow" a profile in Instagram, for example) p>
My question is, how do I keep the status of the button on ListView
(if the user is following, type "following", if not type "follow").
Is the best way would I already send whether the user follows that entity in the request itself's response to the Web service that populates the list by manipulating the returned JSON?
I accept suggestions =)