mercredi 26 août 2015

Android - How to access state of checkboxes in fragments from activity

So I have a class which has a tabbed layout of 4 fragments each with a list of checkboxes. I need to save the state of those checkboxes in a sqlite database, but I am not able to access them at all with findViewById from the activity (throws a nullpointerexception). How would I go about doing this? Thanks!

Aucun commentaire:

Enregistrer un commentaire