mardi 8 mars 2016

Android SQLite unique ids for setHasStableIds

I want to add headers in recyclerview. These headers should represent categories. I also have two tables - one for categories and one for items. So, I need ids among these tables to be unique because of the setHasStableIds(true) method. So how can I achieve this?

Aucun commentaire:

Enregistrer un commentaire