Nguyễn Văn Toàn
New member
How do I know if my Backstack is empty?
Answer
you can use fragment stack while pushing fragments inside it. Use
getBackStackEntryCount() to get
count. If it is zero, means nothing in backstack.
Answer
you can use fragment stack while pushing fragments inside it. Use
getBackStackEntryCount() to get
count. If it is zero, means nothing in backstack.