Preserving Bottom sheet fragment state and visibility on orientation change without FragmentManager
I was assigned to add support at my new job for preserving BottomSheet state & visibility on orientation change, but I’m having a hard time retaining any of those when the Activity is re-created.
Newbie trying to create App with Android Studio
Ok so like in the title I’m a complete newb when it comes to .apk development. What I want to create is a private APP for our DnD session, exclusively for spell list. I want the main menu to show buttons for the classes (Warrior, Bard, etc.). Each of these buttons should show another page where there are buttons for the spell level related to the selected class (Level 0, Level 1, etc.) Then those buttons should show a list of the spells related to these particular levels. Each spells should be listed with a simple description, but each spell should be clickable to show a dedicated page for the spell for further information on the specific spell.
How to have a single fragments with different contents start when clicking on different stuff from current fragment
I’m new to Android. I know nowadays it’s best to use Jetpack compose, but I wanna start learning from the old ways of doing things first.
Send search query to nested fragments
I have a SearchFragment, inside it is an EditText (for entering a query), a TabLayout and a ViewPager2 with three Fragments (StreamsFragment, PlaylistsFragment, TracksFragment).
When entering a query, I want to send it to the currently selected fragment, so that the search and display logic is in the corresponding fragment.
So the question is, how do I pass the entered queries into fragments in ViewPager?