Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensousa committed May 16, 2023
1 parent 294c53b commit 50ef2fc
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ See the project website for more information: https://rubensousa.github.io/DpadR

Motivation for this library: https://rubensousa.com/2022/11/08/dpadrecyclerview/

Check the sample app for a complete example of integration of this library:

![sample](https://github.com/rubensousa/DpadRecyclerView/blob/master/assets/sample_cover.png?raw=true)

## Getting started

Add the following dependency to your app's `build.gradle`:
Expand Down Expand Up @@ -37,19 +41,8 @@ Check the official website for more information and recipes: https://rubensousa.
- Supports non smooth scroll changes
- Supports continuous and circular grid focus

## Features missing from Leanback's `BaseGridView`

- Scrolling in secondary direction
- Disabling recycling of children
- Saving and restoring children states: clients can save and restore children on the appropriate RecyclerView.Adapter callbacks
- `setChildrenVisibility`: clients can do this by iterating over the children

## Sample app

Check the sample app for a complete example of integration of this library:

![sample](https://github.com/rubensousa/DpadRecyclerView/blob/master/assets/sample_cover.png?raw=true)

Nested lists:

![nested_lists](https://github.com/rubensousa/DpadRecyclerView/blob/master/assets/sample_nested_lists.png?raw=true)
Expand Down

0 comments on commit 50ef2fc

Please sign in to comment.