How to make the maximum stack size in 5 fragments. Adding 6 fragment, 1 fragment should be deleted, but quietly, without showing screen.
[Fragment1]->[Fragment2]->[Fragment3]->[Fragment4]->[Fragment5]
Added 6 fragment
[Fragment1][Fragment2]->[Fragment3]->[Fragment4]->[Fragment5]->[Fragment6]
when the user will come back he will be on 5 screens.
The main problem, how to remove FragmentManager.BackStackEntry from the back stack fragment manager in a quiet, not pushing on the screen.
Is this possible ?