← 返回首页
Android-Extensions/recyclerview at develop · CrackerCat/Android-Extensions · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Latest commit

 

History

History
 
 
 develop
Top

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
View all files

README.md

RecyclerView

Utility classes for the RecyclerView ViewGroup.

Diffable

An interface used to calculate a DiffUtil.DiffResult without having to implement a DiffUtil.Callback. It exposes methods that distinguish items in a RecyclerView from each other.

Diff

A POJO hosting pure static functions for calculating the diff of two lists. the fields of the POJO are the DiffUtil.DiffResult, and a List containing the items of the result of the bi function applied to the Lists to diff.

Delegates include:

  1. viewHolderDelegate: Read/write. Similar to the standard library by map(), lets you read/write properties from/to a RecyclerView.ViewHolder instance. Usage: var PuppyViewHolder.boundItem by viewDelegate<Puppy>()

ComposedAdapter / ComposedListAdapter

RecyclerView.Adapter that can be built with the adapterOf or listAdapterOf function that delegates all callbacks to individually composed functions.

BindingViewHolder

Create RecyclerView.ViewHolder instances directly from ViewBinding generated classes with a simple viewGroup.viewHolderFrom extension method.

EndlessScroller

A class that makes infinite scrolling for a RecyclerView easier

RecyclerViewMultiScroller

A class that synchronizes scrolling multiple [RecyclerView]s, useful for creating tables.

ListPlaceholder

Interface for displaying a placeholder in an empty RecyclerView with a ListManager

Footer

© 2026 GitHub, Inc.