I was incapable of finding an answer for the following context: Let's say we have a menu and a nav graph instanced in the main activity. We have 3 fragment: Hom
I intended to show BottomBar with three menus (dedicated fragments for each). The BottomBar doesn't show up in the UI, though the same previews perfectly below
Scenario: I made an app that switches programmatically Theme between light and dark mode.It's based on fragment and I set every views via XML calling "?attr/myt
I have 2 fragment pages. The first of these pages is the page where the user is given options. The other page is the page that is displayed according to the opt
So, in the current state, I can see the fragment inside, showing when I boot up the virtual phone; however, as soon as I switch to different fragment, from my d
I don't know whether this is repeated question or not, But I didn't found any solution. The problem is, there is a screen which has similar views in all the sc
I have bottom nav bar define in the Main activity. I have three fragments linked with BottomNavigation bar in fragments I have recycler view so I want to hide B
In a project, there was a FloatingActionButton in one of the activities. I attempted to add a Fragment in that activity and move the FAB inside that Fragment. E
I am trying to implement search in my fragment but its not working. no results shown up with search text. Also all the items are gone from the view when search
I'm currently migrating to android navigation component and cannot get the fragment transitions to work when a new item is being selected in the BottomNavigatio
i want create a google map fragment in a full screen project and then when i touch google map fragment call some function but when i touch google map fragment s
I have a viewPager which contains two fragments. First for showing list of products and another one for showing list of selected products. In the second fragmen
I have project with navigation drawer with fragment, with 5 menu, the problem is when i go to menu 4 and the i press the back button the app closed, but i need
I am attempting to compile a simple map display on my my phone, but the app keeps closing. It seems that all my ducks are in a row, but I'm just stumped. This
I'm working on getting the Google Place API to appear within a CardView. The particular code I'm looking at is from GitHub, seems to be working for everyone el
I lost some hours today because my code was not working any more. The code to reload the view of a fragment was not working anymore after updating to the new ve
The next screen does not come up when navigating between fragments. It exits fragment a but does not go to b. When I inspect the profiler it says I'm in fragmen
I want show 3 fragments in my Activity and load data from json in any fragments! I want show each json data into one fragment, but in my application show all of
Although it is the same exception, my situation is different from SavedStateProvider with the given key is already registered as I am using Nav-graph Scoped Vie
I want my layout to be refreshed when the app starts and the data should show in and when the user swipes the data should be updated and show new data if new da