// Path: sample/src/main/java/ru/noties/scrollable/sample/ItemsGenerator.java
// public class ItemsGenerator {
// 
//     public static List<String> generate(int count) {
//         final List<String> list = new ArrayList<>(count);
//         for (int i = 0; i < count; i++) {
//             list.add("Item #" + i);
//         }
//         return list;
//     }
// 
//     private ItemsGenerator() {}
// }


import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.BaseAdapter;
import android.widget.ListView;
import java.util.List;
import ru.noties.scrollable.sample.R;
import ru.noties.scrollable.sample.ItemsGenerator;
package ru.noties.scrollable.sample.pager.fragment;




public class FragmentPagerFragmentListView extends FragmentPagerFragment {

    private ListView mListView;

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle sis) {
        return inflater.inflate(R.layout.fragment_pager_list_view, parent, false);
    }

    @Override
    public void onViewCreated(View view, Bundle sis) {
        super.onViewCreated(view, sis);

        mListView = findView(R.id.list_view);

// Path: sample/src/main/java/ru/noties/scrollable/sample/ItemsGenerator.java
// public class ItemsGenerator {
// 
//     public static List<String> generate(int count) {
//         final List<String> list = new ArrayList<>(count);
//         for (int i = 0; i < count; i++) {
//             list.add("Item #" + i);
//         }
//         return list;
//     }
// 
//     private ItemsGenerator() {}
// }


// Path: sample/src/main/java/ru/noties/scrollable/sample/pager/fragment/FragmentPagerFragmentListView.java
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.BaseAdapter;
import android.widget.ListView;
import java.util.List;
import ru.noties.scrollable.sample.R;
import ru.noties.scrollable.sample.ItemsGenerator;

package ru.noties.scrollable.sample.pager.fragment;




public class FragmentPagerFragmentListView extends FragmentPagerFragment {

    private ListView mListView;

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle sis) {
        return inflater.inflate(R.layout.fragment_pager_list_view, parent, false);
    }

    @Override
    public void onViewCreated(View view, Bundle sis) {
        super.onViewCreated(view, sis);

        mListView = findView(R.id.list_view);

        final List<String> items = ItemsGenerator.generate(100);