Skip to content

sonusurender/SwipeRefreshLayout_Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwipeRefreshLayout

You might have noticed that lot of android apps like Twitter, Google+ provides an option to swipe / pull down to refresh it’s content. Whenever user swipes down from top, a loader will be shown and will disappear once the new content is loaded.

Methods of SwipeRefresh are quite few:

  • setOnRefreshListener(OnRefreshListener): adds a listener to let other parts of the code know when refreshing begins.
  • setRefreshing(boolean): enables or disables progress visibility.
  • isRefreshing(): checks whether the view is refreshing.
  • setColorScheme(): it receive four different colors that will be used to colorize the animation.

For detailed explanation of code, visit here.

Video Demo

👉 Watch it here.

Watch demo

Connect with Us

Support

Reach out to me at surender@androhub.com.

Buy Me a Coffee

Donate for the free content.

Buy Me A Coffee

Releases

No releases published

Packages

No packages published

Languages