Watchlist functionality


#1

I have an application using Dribbble API that shows a list of people, and you can select one person and then see his profile. I want to create an “Add to Watchlist” functionality, how could I do that?

Am I able to add an “inWatchlist” boolean to the JSON data or something like that?
Or should I create a new local JSON file with the data of the person I added to watchlist and then call this list on the Watchlist page?

Sorry my lack of knowledge in this subject, it’s not my speciality.


#2

You’d probably want a separate array or object for your watchlist that either cross-references into the Dribbble dataset or stores a copy of the desired data. That’s just how I’d do it; there are many ways to accomplish this.