app/src/main/java/org/qinshuihepan/bbs/util/update/UpdateChecker.java
/**
     * This class is a Fragment. Check for the method you have chosen.
     */
This class is a Fragment. Check for the method you have chosen.
This class is a Fragment . Check for the method you have chosen .
@Override
    public void onAttach(Activity activity) {
        super.onAttach(activity);
        mContext = (FragmentActivity) activity;
        Bundle args = getArguments();
        mTypeOfNotice = args.getInt(NOTICE_TYPE_KEY);
        checkForUpdates();
    }
@ Override public void onAttach ( Activity activity ) { super . onAttach ( activity ) ; mContext = ( FragmentActivity ) activity ; Bundle args = getArguments ( ) ; mTypeOfNotice = args . getInt ( NOTICE_TYPE_KEY ) ; checkForUpdates ( ) ; }
This class is a Fragment.
This class is a Fragment .