How do you handle bottom navigation perfectly with back press?

How do you handle bottom navigation perfectly with back press?
Answer
Try this to achieve the following: on back press: from home fragment exit the app. from other fragments goto home fragment. For your requirement you would be working with fragments on navigation for this you can use Tablayout with view pager and make bottom navigation.
 

Tìm kiếm

Back
Top