// Path: app/src/main/java/com/classic/simple/fragment/ImageFragment.java
// public class ImageFragment extends BaseFragment {
// 
//     @Override public int getLayoutResId() {
//         return R.layout.fragment_image;
//     }
// 
//     @Override public void onFragmentShow() {
//         super.onFragmentShow();
//         ToastUtil.showToast(getActivity(), "ImageFragment --> onFragmentShow()");
//     }
// 
//     @Override public void onFragmentHide() {
//         super.onFragmentHide();
//         ToastUtil.showToast(getActivity(), "ImageFragment --> onFragmentHide()");
//     }
// }
// 
// Path: app/src/main/java/com/classic/simple/fragment/TextFragment.java
// public class TextFragment extends BaseFragment {
// 
//     @Override public int getLayoutResId() {
//         return R.layout.fragment_text;
//     }
// 
//     @Override public void onFragmentShow() {
//         super.onFragmentShow();
//         ToastUtil.showToast(getActivity(), "TextFragment --> onFragmentShow()");
//     }
// 
//     @Override public void onFragmentHide() {
//         super.onFragmentHide();
//         ToastUtil.showToast(getActivity(), "TextFragment --> onFragmentHide()");
//     }
// }


import android.os.Bundle;
import butterknife.OnClick;
import com.classic.simple.R;
import com.classic.simple.fragment.ImageFragment;
import com.classic.simple.fragment.TextFragment;
package com.classic.simple.activity;


public class FragmentActivity extends AppBaseActivity {
    private ImageFragment mImageFragment;
// Path: app/src/main/java/com/classic/simple/fragment/ImageFragment.java
// public class ImageFragment extends BaseFragment {
// 
//     @Override public int getLayoutResId() {
//         return R.layout.fragment_image;
//     }
// 
//     @Override public void onFragmentShow() {
//         super.onFragmentShow();
//         ToastUtil.showToast(getActivity(), "ImageFragment --> onFragmentShow()");
//     }
// 
//     @Override public void onFragmentHide() {
//         super.onFragmentHide();
//         ToastUtil.showToast(getActivity(), "ImageFragment --> onFragmentHide()");
//     }
// }
// 
// Path: app/src/main/java/com/classic/simple/fragment/TextFragment.java
// public class TextFragment extends BaseFragment {
// 
//     @Override public int getLayoutResId() {
//         return R.layout.fragment_text;
//     }
// 
//     @Override public void onFragmentShow() {
//         super.onFragmentShow();
//         ToastUtil.showToast(getActivity(), "TextFragment --> onFragmentShow()");
//     }
// 
//     @Override public void onFragmentHide() {
//         super.onFragmentHide();
//         ToastUtil.showToast(getActivity(), "TextFragment --> onFragmentHide()");
//     }
// }


// Path: app/src/main/java/com/classic/simple/activity/FragmentActivity.java
import android.os.Bundle;
import butterknife.OnClick;
import com.classic.simple.R;
import com.classic.simple.fragment.ImageFragment;
import com.classic.simple.fragment.TextFragment;

package com.classic.simple.activity;


public class FragmentActivity extends AppBaseActivity {
    private ImageFragment mImageFragment;
    private TextFragment  mTextFragment;