SmartRefreshLayout - a smart or intelligent pull-down refresh layout

SmartRefreshLayout

As the name says, SmartRefreshLayout is a "smart" or "intelligent" pull-down refresh layout,because of its "smart", it does not just support all the Views , but also support multi-layered nested view structures.

It extends from ViewGroup rather than FrameLayout or LinearLayout, this not only improves its performance, but also enables it to absorb the advantages of various refresh layouts in fashion now,Including Google official SwipeRefreshLayout、TwinklingRefreshLayout 、Ultra-Pull-To-Refresh. Also it integrates various cool Headers and Footers.

SmartRefreshLayout's goal is to build a strong, stable and mature pull-down refresh layout framework, and to integrate all kinds of cool, diverse, practical and beautiful Headers and Footers.

Demo

Features

  • Support multi-touch.
  • Support multi-layered nested view structures.
  • Support all the Views(AbsListView、RecyclerView、WebView....View)
  • Support customizing Headers and Footers, and has integrated a lot of cool Headers and Footers.
  • Support synchronous scrolling with ListView and NestedScrolling with CoordinatorLayout.
  • Support automatically refresh, automatically pull-up loading (automatically detect list inertance and scroll to the bottom without having to manually pull).
  • Support customizing rebound animation interpolator, to achieve a variety of cool animation effects.
  • Support setting a theme to fit any scene of App, it won't appear a cool but very awkward situation.
  • Support setting a variety of transformations (Translation, stretching, behind fixed, top fixed, full screen view) for Headers and Footers.
  • Support rewrite and extension, internal implementation without private methods and fields.
  • Support automatically cross-border rebound for all rolling Views (Listview、RecyclerView、ScrollView、WebView...View).

GitHub