use of github.chenupt.dragtoplayout.demo.fragments.ListViewFragment in project DragTopLayout by chenupt.
the class MainActivity method getFragments.
private List<Fragment> getFragments() {
List<Fragment> list = new ArrayList<>();
Fragment listFragment = new ListViewFragment();
Fragment recyclerFragment = new RecyclerFragment();
Fragment gridViewFragment = new GridViewFragment();
Fragment scrollViewFragment = new ScrollViewFragment();
Fragment webViewFragment = new WebViewFragment();
list.add(listFragment);
list.add(recyclerFragment);
list.add(gridViewFragment);
list.add(scrollViewFragment);
list.add(webViewFragment);
return list;
}
Aggregations