Extending Base Fragment & Using with Navigation Component
I have three fragments that extend a base fragment which is an abstract class that extends from Fragment class !
Some functions have been overridden except the onCreateView & OnViewCreated since the view should be same for all these fragments so I am using base (abstract) class functions without overriding them !
I've put these three fragments (Not Abstract) inside the main_navigation graph file for the nav controller
The start destination of the graph is the first fragment which extends from...