use of com.zhy.sample.fragment.PayFragment in project AndroidAutoLayout by hongyangAndroid.
the class MainActivity method initDatas.
private void initDatas() {
ArrayList<Fragment> mList = new ArrayList<Fragment>();
mList.add(new ListFragment());
mList.add(new RegisterFragment());
mList.add(new PayFragment());
mList.add(new RecyclerViewFragment());
mList.add(new RecyclerViewGridFragment());
mList.add(new TestFragment());
mViewPager.setAdapter(new MyAdapter(getSupportFragmentManager(), mList));
}
Aggregations