public class ActivityUtils
extends java.lang.Object
| 构造器和说明 |
|---|
ActivityUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
addFragmentToActivity(FragmentManager fragmentManager,
Fragment fragment,
int frameId)
The
fragment is added to the container view with id frameId. |
static <T> T |
checkNotNull(T reference) |
public static void addFragmentToActivity(FragmentManager fragmentManager,
Fragment fragment,
int frameId)
fragment is added to the container view with id frameId. The operation is
performed by the fragmentManager.public static <T> T checkNotNull(T reference)