// Path: src/com/it114/android/oneframework/core/ui/presenter/BaseFragmentPresenter.java
// public abstract class BaseFragmentPresenter extends Presenter{
// 
//     protected Context mContext;
//     public void attach(Context context) {
//         mContext = context;
//         init();
//     }
// 
//     public void detach() {
//         mContext = null;
//         destroy();
//     }
// 
//     protected ActivityCommon.ACTIVITY_STATE getActivityState() {
//         if (mContext instanceof BaseActivity) {
//             BaseActivity activity = (BaseActivity) mContext;
//             return activity.activityState.getActivityState();
//         } else if(mContext instanceof BaseFragmentActivity ) {
//             BaseFragmentActivity activity = (BaseFragmentActivity) mContext;
//             return activity.activityState.getActivityState();
//         }
//         return ActivityCommon.ACTIVITY_STATE.NOT_ACTIVITY;
//     }
// 
// 
// }


import android.app.Activity;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import butterknife.ButterKnife;
import com.it114.android.oneframework.core.ui.presenter.BaseFragmentPresenter;
package com.it114.android.oneframework.core.ui.fragment;




/**
 * Created by andy on 10/15/2015.
 */
public abstract class SupportFragment extends Fragment {

    protected LayoutInflater mLayoutInflater;
    protected View mRootView;
// Path: src/com/it114/android/oneframework/core/ui/presenter/BaseFragmentPresenter.java
// public abstract class BaseFragmentPresenter extends Presenter{
// 
//     protected Context mContext;
//     public void attach(Context context) {
//         mContext = context;
//         init();
//     }
// 
//     public void detach() {
//         mContext = null;
//         destroy();
//     }
// 
//     protected ActivityCommon.ACTIVITY_STATE getActivityState() {
//         if (mContext instanceof BaseActivity) {
//             BaseActivity activity = (BaseActivity) mContext;
//             return activity.activityState.getActivityState();
//         } else if(mContext instanceof BaseFragmentActivity ) {
//             BaseFragmentActivity activity = (BaseFragmentActivity) mContext;
//             return activity.activityState.getActivityState();
//         }
//         return ActivityCommon.ACTIVITY_STATE.NOT_ACTIVITY;
//     }
// 
// 
// }


// Path: src/com/it114/android/oneframework/core/ui/fragment/SupportFragment.java
import android.app.Activity;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import butterknife.ButterKnife;
import com.it114.android.oneframework.core.ui.presenter.BaseFragmentPresenter;

package com.it114.android.oneframework.core.ui.fragment;




/**
 * Created by andy on 10/15/2015.
 */
public abstract class SupportFragment extends Fragment {

    protected LayoutInflater mLayoutInflater;
    protected View mRootView;
    protected BaseFragmentPresenter mPresenter;