Class of android.app · FragmentTransaction.java · Android's reference
public class FragmentTransaction
Fragments to add or remove.
public FragmentTransaction add(Fragment fragment, String tag) sourcepublic FragmentTransaction add(int containerViewId, Fragment fragment) sourcepublic FragmentTransaction add(int containerViewId, Fragment fragment, String tag) sourcepublic FragmentTransaction remove(Fragment fragment) sourcepublic FragmentTransaction replace(int containerViewId, Fragment fragment) sourcepublic FragmentTransaction addToBackStack(String name) sourcepublic int commit() sourcepublic int commitAllowingStateLoss() sourcepublic void commitNow() sourcepublic void commitNowAllowingStateLoss() sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.