Search in sources :

Example 1 with ScrollViewFragment

use of github.chenupt.dragtoplayout.demo.fragments.ScrollViewFragment 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;
}
Also used : WebViewFragment(github.chenupt.dragtoplayout.demo.fragments.WebViewFragment) RecyclerFragment(github.chenupt.dragtoplayout.demo.fragments.RecyclerFragment) ArrayList(java.util.ArrayList) GridViewFragment(github.chenupt.dragtoplayout.demo.fragments.GridViewFragment) ScrollViewFragment(github.chenupt.dragtoplayout.demo.fragments.ScrollViewFragment) RecyclerFragment(github.chenupt.dragtoplayout.demo.fragments.RecyclerFragment) ScrollViewFragment(github.chenupt.dragtoplayout.demo.fragments.ScrollViewFragment) WebViewFragment(github.chenupt.dragtoplayout.demo.fragments.WebViewFragment) Fragment(android.support.v4.app.Fragment) GridViewFragment(github.chenupt.dragtoplayout.demo.fragments.GridViewFragment) ListViewFragment(github.chenupt.dragtoplayout.demo.fragments.ListViewFragment) ListViewFragment(github.chenupt.dragtoplayout.demo.fragments.ListViewFragment)

Aggregations

Fragment (android.support.v4.app.Fragment)1 GridViewFragment (github.chenupt.dragtoplayout.demo.fragments.GridViewFragment)1 ListViewFragment (github.chenupt.dragtoplayout.demo.fragments.ListViewFragment)1 RecyclerFragment (github.chenupt.dragtoplayout.demo.fragments.RecyclerFragment)1 ScrollViewFragment (github.chenupt.dragtoplayout.demo.fragments.ScrollViewFragment)1 WebViewFragment (github.chenupt.dragtoplayout.demo.fragments.WebViewFragment)1 ArrayList (java.util.ArrayList)1