I using BottomNavigationView with 3 main Fragment, like Fragment [A], [B], [C].
and Fragment [A] is default fragment, if Fragment [B] or [C] press back button must return to Fragment A. In fragment [B], I add button to get Another fragment just call it Fragment [D], but if in Fragment D i pressed back button app return into fragment [A].
So How to return into Fragment [B] when fragment [D] is press back button?