Is there any default function that exists like in iOS to update a listview ? Or any other library ?
This is now supported by the support library and called swipeRefreshLayout
https://developer.android.com/reference/android/support/v4/widget/SwipeRefreshLayout.html
And here is an example: http://antonioleiva.com/swiperefreshlayout/
@elimirks pointed me to correct direction for using ActionBar-PullToRefresh, but for being newbie I was getting a lot or errors and was not able to use it well until I found ActionBar Pull To Refresh Tutorial. To use ActionBar-PullToRefresh
the other library SmoothProgressBar is also required and need to be configured.
Thanks.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With