Skip to content

jiaminglu/PullToLoadMoreListView

Repository files navigation

Android-PullToLoadMoreListView

Usage:

        listView = (PullToLoadMoreListView) findViewById(...);
        listView.setPullView(loadView);
        listView.setAdapter(...);
        listView.setOnPullListener(new PullToLoadMoreListView.OnPullListener() {
            @Override
            public void onPull(int distance, int total) {
                // Callback for the touch event
            }

            @Override
            public void onStartLoading() {
                // Load new data
                
                // After loading data, notify the ListView how many items have been loaded,
                // then scroll to right position.
                listView.loaded(5);
            }
        });

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages