BottomSheets
Last updated
Last updated
To create a BottomSheet class, you should inherit it from BottomSheetDialogFragment
from the bootstrap package.
Other logic stays the same.
If you are using a ViewModel, you should inherit YesNoDialogFragment
from BottomSheetDialogFragmentViewModel
and pass the ViewModel as a parameter.