package com.gh.gamecenter.collection; import android.os.Bundle; import android.support.v4.app.Fragment; import com.gh.base.fragment.BaseFragment_TabLayout; import com.gh.gamecenter.R; import java.util.List; /** * Created by khy on 18/07/17. *
* 我的收藏viewpager页面
*/
public class CollectionWrapperFragment extends BaseFragment_TabLayout {
public static final int INDEX_ANSWER = 0;
public static final int INDEX_TOOL = 1;
public static final int INDEX_ARTICLE = 2;
public static CollectionWrapperFragment newInstance(int checkedIndex) {
CollectionWrapperFragment fragment = new CollectionWrapperFragment();
Bundle args = new Bundle(1);
args.putInt(PAGE_INDEX, checkedIndex);
fragment.setArguments(args);
return fragment;
}
@Override
protected void initTabTitleList(List