mardi 17 décembre 2019

How do i get to know if a bottom sheet is expanded or collapsed using and if statement and then do something depending on the state


if (BottomSheetBehavior.STATE_EXPANDED) {
      //Do something
}


I want to be able to get the state of a bottom sheet sheet if it is expanded or collapsed or settling and then using and if statement or case perform an action depending on the state of the bottom sheet

Aucun commentaire:

Enregistrer un commentaire