lundi 11 novembre 2019

Is there a way to send checkbox event from activity to fragment?

I have a checkbox in my activity and a bunch of other checkboxes in my fragment as well, so what i want is when i click the checkbox in my activity i want all other checkboxes in my fragment to be clicked as well.

I've tried using interfaces but i failed to achieve the expectations

I am using two fragments in one i have expandable view full of checkboxes and in the other i have a recyclerview full of checkboxes I expect all checkboxes to be clicked when i click the checkbox from activity




Aucun commentaire:

Enregistrer un commentaire