Akin to the Android Activity backstack, the Fragment backstack is a task-like stack of Fragments (specified when adding a Fragment to a page with FragmentManager).
I'm using the Android Compatibility library to implement fragments and have extended the layout sample so that a fragment contains …
android android-fragments fragment-backstackI have simple code below FragmentManager fragmentManager = getFragmentManager(); FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction(); fragmentTransaction.replace(R.id.fragment_container, mFeedFragment); fragmentTransaction.…
android fragmenttransaction fragmentmanager fragment-backstackI have a problem about removing a specific fragment from back stack.My scenario is like this.Fragment-1 is replaced …
android android-fragments fragment fragment-backstackI want to get the last fragment in the backstack, or the current displayed it's the same for me, in …
android android-fragments android-viewpager fragment-backstackI am working on fragment transaction, and the backstack is like this: fragA => fragB => fragC => fragD I …
android android-fragments android-fragmentactivity back-stack fragment-backstackI'm new to the Android Jetpack Navigation architecture. I'm trying it out on a new app. There's one activity and …
android kotlin navigation android-jetpack fragment-backstackI'm scratching my head with this one now.... I have an ActionBarActivity that loads an initial Fragment - the original …
android fragment android-toolbar android-actionbaractivity fragment-backstackI'm implementing BottomNavigationView for navigation in an Android app. I am using Fragments to set the content for each tab. …
android android-fragments bottomnavigationview fragment-backstackThe problem is to manage properly back stack so the previous fragment is poped out (or deleted). The problem is …
android android-fragments overlapping fragment-backstackHaving a flow to add fragment and later replace() fragment. All fragment are dynamically added, but not all call addToBackStack(). …
android android-fragments fragment-backstack