The purpose of this manager is to work with the ViewPager, Tabs and Navigation drawer to handle a single stack flow of fragments on the screen. It makes use of a main Fragment as a container and presents and hides fragments within it as children.
MIT License
28
stars
8
forks
source link
StackManager.popFragment() Implementation Causing Back Button Issue #29
When the navigationFragment.dismissFragment() is called at the root stack, can I prevent it from calling getActivity().onBackPressed()?
It is related to cases that we will pop the fragment when the app fails to load data from server, and it is causing issue of exiting the app if the dismissFragment() call is triggered at the root.
When the
navigationFragment.dismissFragment()
is called at the root stack, can I prevent it from calling getActivity().onBackPressed()? It is related to cases that we will pop the fragment when the app fails to load data from server, and it is causing issue of exiting the app if thedismissFragment()
call is triggered at the root.