Answer the question
In order to leave comments, you need to log in
How to use Bottom Sheet?
In general, I have a FavoritesFragment that works from MainActivity, it has a recycler view with a list of music. When pressed, PlayMusicActivity opens, in which the music is actually played. In general, I want this activity to be swiped from top to bottom or when a button is pressed. "folded" into the bottom sheet and it was possible to interact with the
FavoritesFragment, i.e. open a new song. Like it's done in YOUTUBE MUSIC. How can this be implemented? Thanks for the answers! I combed through everything, did not find a normal example, on Kotlin.
Answer the question
In order to leave comments, you need to log in
And you won’t find it, because you can’t do it on activation. There should be one activity, but where the music "plays" is another fragment. From this you can dance.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question