Skip to content

Latest commit

 

History

History
130 lines (111 loc) · 5.75 KB

recycler_views.md

File metadata and controls

130 lines (111 loc) · 5.75 KB

Index

多种模式的RecycleView布局

Features:

  • A LayoutManager base class that greatly simplifies the development of custom layouts for RecyclerView
  • A collection of feature-complete stock layouts including:
    • List
    • Grid
    • Staggered Grid
    • Spannable Grid
  • A collection of stock item decorations including:
    • Item spacing
    • Horizontal/vertical dividers.
  • ListView-style pluggable APIs for:
    • Item click and long click support e.g. OnItemClickListener and OnItemLongClickListener.
    • Item selection (single and multiple) support e.g. setChoiceMode(), setItemChecked(int, boolean), etc.

目前我见过集合了最多效果的RecyclerView.
Features:

  • Swipe to refresh(using android.support.v4.widget.SwipeRefreshLayout)
  • Many kinds of animations
  • Swipe to dismiss
  • Parallax or normal head view
  • Drag and drop items
  • Loading more when reach the last item(infinite scrolling)
  • Custom views in loading more
  • Showing or hiding toolbar and floating button when scrolling
  • Scrollbars
  • Colorful styles of swipe to refresh
  • Sticky header like instagram
  • Support different layout in adapter
  • Loading adapter with animation

一个强大并且灵活的RecyclerViewAdapter,功能也比较齐全.
Features:

  • Reduce lot of code.easily create RecyclerAdapter
  • add item click and add item long click and item chlid click
  • easily add RecyclerAdapter animations
  • add HeadView and add FooterView
  • add The drop-down refresh, load more
  • set custom loading view
  • easily create section headers
  • custom item view type
  • add setEmptyView methods
  • add drag item

也是整合了很多效果,并且附带相应的例子.
Features:

  • Drag & Drop
  • Expandable item
  • Swipeable

和UltimateRecyclerView类似,功能比较齐全,集合了其他开源项目
Features:

  • ProgressBar while adapter hasn't been set
  • EmptyView if adapter is empty
  • SwipeRefreshLayout (Google's one)
  • Infinite scrolling, when you reach the X last item, load more of them.
  • Swipe To Dismiss or Swipe To Remove
  • Sticky headers (via Eowise, see sample)

简单易用的RecycleView动画
Features:

  • Animate addition and removal of ItemAnimator
  • Appearance animations for items in RecyclerView.Adapter

另一款RecycleView动画
Features:

  • Appearance animations
  • Simple animators for the item views

Sticky Header库,目前已经不维护了

另一款RecycleView Sticky Header库。

ViewPager的完美替代品

整合下拉刷和加载更多的RecycleView

RecycleView divider的实现

有视觉错位的RecycleView