// Path: app/src/main/java/com/kong/app/news/adapter/IRVPagerView.java
// public interface IRVPagerView {
// 
//     String getTitle();
// 
//     View getVeiw();
// 
//     void scrollTop();
// }
// 
// Path: app/src/main/java/com/kong/home/tab/event/SelectRepeatEvent.java
// public class SelectRepeatEvent {
//     public static final int HOMEINDEX = 0;
//     public static final int BLOGINDEX = 1;
//     public static final int GANKINDEX = 2;
//     public int type;
// 
//     public SelectRepeatEvent(int type) {
//         this.type = type;
//     }
// }
// 
// Path: app/src/main/java/com/kong/lib/fragment/BaseFragment.java
// public class BaseFragment extends Fragment {
// 
// }


import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.support.annotation.Nullable;
import android.support.design.widget.TabLayout;
import android.support.v4.view.ViewPager;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewStub;
import com.kong.R;
import com.kong.app.news.adapter.IRVPagerView;
import com.kong.home.tab.event.SelectRepeatEvent;
import com.kong.lib.fragment.BaseFragment;
import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe;
import org.greenrobot.eventbus.ThreadMode;
import java.util.ArrayList;
import java.util.List;
package com.kong.app.news;





public abstract class ListBaseFragment extends BaseFragment {

    private static final String TAG = "ListBaseFragment";

    protected TabLayout mTablayout;
    protected ViewPager mViewPager;
    protected ViewStub mViewStub;
    private View mProgressView;
    private View mErrorView;
    protected View mRoot;
    protected Handler mHandler = new Handler(Looper.myLooper());
    protected final List<IRVPagerView> mIRVPagerViews = new ArrayList<>();

    public abstract void onCreateView();
    public abstract int getCurrentType();

    @Subscribe(threadMode = ThreadMode.MAIN)
// Path: app/src/main/java/com/kong/app/news/adapter/IRVPagerView.java
// public interface IRVPagerView {
// 
//     String getTitle();
// 
//     View getVeiw();
// 
//     void scrollTop();
// }
// 
// Path: app/src/main/java/com/kong/home/tab/event/SelectRepeatEvent.java
// public class SelectRepeatEvent {
//     public static final int HOMEINDEX = 0;
//     public static final int BLOGINDEX = 1;
//     public static final int GANKINDEX = 2;
//     public int type;
// 
//     public SelectRepeatEvent(int type) {
//         this.type = type;
//     }
// }
// 
// Path: app/src/main/java/com/kong/lib/fragment/BaseFragment.java
// public class BaseFragment extends Fragment {
// 
// }


// Path: app/src/main/java/com/kong/app/news/ListBaseFragment.java
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.support.annotation.Nullable;
import android.support.design.widget.TabLayout;
import android.support.v4.view.ViewPager;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewStub;
import com.kong.R;
import com.kong.app.news.adapter.IRVPagerView;
import com.kong.home.tab.event.SelectRepeatEvent;
import com.kong.lib.fragment.BaseFragment;
import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe;
import org.greenrobot.eventbus.ThreadMode;
import java.util.ArrayList;
import java.util.List;

package com.kong.app.news;





public abstract class ListBaseFragment extends BaseFragment {

    private static final String TAG = "ListBaseFragment";

    protected TabLayout mTablayout;
    protected ViewPager mViewPager;
    protected ViewStub mViewStub;
    private View mProgressView;
    private View mErrorView;
    protected View mRoot;
    protected Handler mHandler = new Handler(Looper.myLooper());
    protected final List<IRVPagerView> mIRVPagerViews = new ArrayList<>();

    public abstract void onCreateView();
    public abstract int getCurrentType();

    @Subscribe(threadMode = ThreadMode.MAIN)
    public void onSelectRepeat(SelectRepeatEvent event){