android-pulltorefresh alternatives and similar packages
Based on the "ListView/ScrollView Widget" category.
Alternatively, view android-pulltorefresh alternatives based on common mentions on social networks and blogs.
-
Android-ObservableScrollView
Android library to observe scroll events on scrollable views. -
StickyListHeaders
An android library for section headers that stick to the top -
Pull-to-Refresh.Rentals-Android
Phoenix Pull-to-Refresh -
SwipeMenuListView
[DEPRECATED] A swipe menu for ListView. -
pinned-section-listview
Easy to use ListView with pinned sections for Android. -
Android-SlideExpandableListView
A better ExpandableListView, with animated expandable views for each list item -
PullZoomView
An Android custom ListView and ScrollView with pull to zoom-in. -
XListView-Android
ListView supports pull refresh and pull up to load more feature. -
Android-HorizontalListView
HorizontalListView is an Android ListView widget which scrolls in a horizontal manner (in contrast with the SDK-provided ListView which scrolls vertically). -
CommonPullToRefresh
Android widget with pull to refresh for all the views,and support loadMore for ListView , RecyclerView, GridView and SwipeRefreshLayout. -
ListBuddies
Android library to achieve in an easy way, the behaviour of the home page in the Expedia app, with a pair of auto-scroll circular parallax ListViews. -
StickyScrollViewItems
A small android library for tagging views inside a ScrollView as "sticky" making them stick to the top of the scroll container until a new sticky view comes and takes it's place -
HorizontalVariableListView
Horizontal list view for Android which allows variable items widths -
PullToRefresh-ListView
A generic, customizable, open source Android ListView implementation that has 'Pull to Refresh' functionality. -
PinnedHeaderListView
A ListView with pinned section headers for Android -
StikkyHeader
This is a very simple library for Android that allows you to stick an header to a scrollable view and easily apply animation to it -
ParallaxScroll
Parallax ScrollView and ListView for Android -
PagedHeadListView
Android boosted ListView supporting paginated header with a new material page indicator. -
ParallaxListView
A Android ListView Demo with a parallax effect header like Path. -
FlabbyListView
Android library to display a ListView whose cells are not rigid but flabby and react to ListView scroll. -
android-pulltorefresh-and-loadmore
android custom listview,with interaction pattern load more and pull to refresh to load data dinamically -
LinearListView
Android library that allows you to bind a LinearLayout with a ListAdapter. -
ListviewFilter
Awesome Listview filter functionality in Android. -
quickscroll
[Development stopped in 2014. Unfinished and not stable - not recommended to use.] Bringing extended scrolling features to Android's native ListView and ExpandableListView. -
FloatingGroupExpandableListView
An open source Android library that provides a floating group view at the top of the ExpandableListView -
PinterestListView
Pinterest style ListView for Android -
HeaderListView
Android ListView with sticky headers -
android-accordion-view
Simple ListView based Android AccordionView -
Android-Tiling-ScrollView
A tiling scrollview to display large picture (similar to iOS "CATiledLayer") -
DragNDropList
An easy to use Drag & Drop List for Android. Direct replacement of the android ListView. -
QuickReturn
Android ListView that implements the QuickReturn UI pattern. Written from scratch with focus on performance. -
FilterSelectorListView
FilterSelectorListView
InfluxDB - Power Real-Time Data Analytics at Scale
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of android-pulltorefresh or a related project?
README
Pull To Refresh for Android
Note This library is deprecated, a swipe refresh layout is available in the v4 support library.
This project aims to provide a reusable pull to refresh widget for Android.
Repository at https://github.com/johannilsson/android-pulltorefresh.
Usage
Layout
<!--
The PullToRefreshListView replaces a standard ListView widget.
-->
<com.markupartist.android.widget.PullToRefreshListView
android:id="@+id/android:list"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
/>
Activity
// Set a listener to be invoked when the list should be refreshed.
((PullToRefreshListView) getListView()).setOnRefreshListener(new OnRefreshListener() {
@Override
public void onRefresh() {
// Do work to refresh the list here.
new GetDataTask().execute();
}
});
private class GetDataTask extends AsyncTask<Void, Void, String[]> {
...
@Override
protected void onPostExecute(String[] result) {
mListItems.addFirst("Added after refresh...");
// Call onRefreshComplete when the list has been refreshed.
((PullToRefreshListView) getListView()).onRefreshComplete();
super.onPostExecute(result);
}
}
Last Updated
It's possible to add a last updated time using the method setLastUpdated
and onRefreshComplete
. The text provided to these methods will be set below
the Release to refresh text. Note that the time representation is not validated
replaces the previous text, which means that it's possible and recommended to
add a text similar to "Last Update: 15:23". This might be changed in future
versions.
1.5 Support
To use the widget on 1.5 the necessary drawables needs to be copied to that projects drawable folder. The drawables needed by the widget can be found in the drawable-hdpi folder in the library project.
Contributors
- Jason Knight - https://github.com/synthable
- Eddie Ringle - https://github.com/eddieringle
- Christof Dorner - https://github.com/chdorner
- Olof Brickarp - https://github.com/coolof
- James Smith - https://github.com/loopj
- Alex Volovoy - https://github.com/avolovoy
- Bo Maryniuk
- kidfolk
- Tim Mahoney
- Richard Guest
Are you using this widget?
If you are using this widget please feel free to add your app to the wiki.
License
Copyright (c) 2011 Johan Nilsson
Licensed under the Apache License, Version 2.0
*Note that all licence references and agreements mentioned in the android-pulltorefresh README section above
are relevant to that project's source code only.