How can we call one fragment from another class that doesn't contain that fragment?
问题 I am having one activity class : IdeaBoxActivity Here is the layout code of the activity- <?xml version="1.0" encoding="utf-8"?> <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context="com.asif047"> <android.support.v4.widget.DrawerLayout android:layout