Java 类android.support.v4.app.AccessFragmentInternals 实例源码

项目:Bottom-sheet-Listview    文件:BottomSheetFragmentDelegate.java   
/**
 * Corresponding onCreate() method
 *
 * @param savedInstanceState Instance state, can be null.
 */
public void onCreate(@Nullable Bundle savedInstanceState) {
    showsBottomSheet = AccessFragmentInternals.getContainerId(fragment) == 0;

    if (savedInstanceState != null) {
        showsBottomSheet = savedInstanceState.getBoolean(SAVED_SHOWS_BOTTOM_SHEET, showsBottomSheet);
        backStackId = savedInstanceState.getInt(SAVED_BACK_STACK_ID, -1);
        bottomSheetLayoutId = savedInstanceState.getInt(SAVED_BOTTOM_SHEET_LAYOUT_ID, View.NO_ID);
    }
}
项目:ThreePhasesBottomSheet    文件:BottomSheetFragmentDelegate.java   
/**
 * Corresponding onCreate() method
 *
 * @param savedInstanceState Instance state, can be null.
 */
public void onCreate(@Nullable Bundle savedInstanceState) {
    showsBottomSheet = AccessFragmentInternals.getContainerId(fragment) == 0;

    if (savedInstanceState != null) {
        showsBottomSheet = savedInstanceState.getBoolean(SAVED_SHOWS_BOTTOM_SHEET, showsBottomSheet);
        backStackId = savedInstanceState.getInt(SAVED_BACK_STACK_ID, -1);
        bottomSheetLayoutId = savedInstanceState.getInt(SAVED_BOTTOM_SHEET_LAYOUT_ID, View.NO_ID);
    }
}
项目:bottomsheet    文件:BottomSheetFragmentDelegate.java   
/**
 * Corresponding onCreate() method
 *
 * @param savedInstanceState Instance state, can be null.
 */
public void onCreate(@Nullable Bundle savedInstanceState) {
    showsBottomSheet = AccessFragmentInternals.getContainerId(fragment) == 0;

    if (savedInstanceState != null) {
        showsBottomSheet = savedInstanceState.getBoolean(SAVED_SHOWS_BOTTOM_SHEET, showsBottomSheet);
        backStackId = savedInstanceState.getInt(SAVED_BACK_STACK_ID, -1);
        bottomSheetLayoutId = savedInstanceState.getInt(SAVED_BOTTOM_SHEET_LAYOUT_ID, View.NO_ID);
    }
}