title: How do I call another class from main class in android studio?
body: <p>MainActivity.java does not extend fragment. I created MainActivityFragment class which extends fragment. Now how do I call it from the MainActivity class?</p>