Favorites Feature - How to create?

I am trying to build my first app on Glide. I created a set of Tutorials and would like to 1) create a feature where users can “save” a particular tutorial as their “favorites” , 2) create a “Favorites” tab so that users can view their saved tutorials

Is there any documentation/youtube I can watch to do that?

thanks!

PS : I am currently using a free version of Glide

It’s quite simple, all you really need is a user-specific boolean column for Is Favourited? in your Tutorials table. Then add a switch on a tutorial’s detail screen for that column. And in the “Favorites” tab, just show a list of tutorials with a filter where Is Favourited? is checked.

thanks fk ! I was able to a) add user-specific boolean column , 2) add a switch , 3) added a “Favorites” tab and added a filter…but it’s still showing all the tutorials? (not sure if this is correct?)

Looks like you have the filter on the tab instead of the Collection.

1 Like

it worked !!! :grinning_face:

thank you!

1 Like