Skip to content

Commit

Permalink
Bump to 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensousa committed May 16, 2023
1 parent f248016 commit 294c53b
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 13 deletions.
13 changes: 13 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

## Version 1.0.0

### 1.0.0

2023-05-16

#### New Features

- Added support for API 19 ([#146](https://github.com/rubensousa/DpadRecyclerView/issues/146))
- Added missing XML attribute for parent alignment `app:dpadRecyclerViewParentAlignmentPreferKeylineOverEdge` ([#145](https://github.com/rubensousa/DpadRecyclerView/issues/145))

#### Bug fixes

- Fixed crash when R8 is applied ([#122](https://github.com/rubensousa/DpadRecyclerView/issues/122))

### 1.0.0-rc01

2023-05-07
Expand Down
17 changes: 6 additions & 11 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
# DpadRecyclerView

A RecyclerView built for Android TV as a replacement for Leanback's BaseGridView.
A RecyclerView built for Android TV as a replacement for [Leanback's](https://developer.android.com/jetpack/androidx/releases/leanback) BaseGridView.

Proceed to [Getting started](getting_started.md) to start adding `DpadRecyclerView`
to your application.

Motivation for this library is available in my [blog](https://rubensousa.com/2022/11/08/dpadrecyclerview/) in case you're interested.

## Requirements

- minSDK: 21
- Java 8

## New Features compared to Leanback's `BaseGridView`

### Layout
Expand All @@ -27,12 +22,12 @@ Motivation for this library is available in my [blog](https://rubensousa.com/202
- Non smooth scroll changes
- 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
### Upcoming features

- [Looping adapter contents](https://github.com/rubensousa/DpadRecyclerView/issues/20)
- [State saving/restoring helper](https://github.com/rubensousa/DpadRecyclerView/issues/45)
- [Drag and drop helper](https://github.com/rubensousa/DpadRecyclerView/issues/12)


## License
Expand Down
1 change: 1 addition & 0 deletions docs/xml.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<attr name="dpadRecyclerViewParentAlignmentOffset" format="dimension" />
<attr name="dpadRecyclerViewParentAlignmentFraction" format="float" />
<attr name="dpadRecyclerViewParentAlignmentFractionEnabled" format="boolean" />
<attr name="dpadRecyclerViewParentAlignmentPreferKeylineOverEdge" format="boolean" />
```


Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ kotlin.code.style=official
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
android.enableR8.fullMode=true
LIBRARY_VERSION=1.0.0-rc01
LIBRARY_VERSION=1.0.0
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ theme:

extra:
dpadrecyclerview:
version: '1.0.0-rc01'
version: '1.0.0'
social:
- icon: 'fontawesome/brands/github'
link: 'https://github.com/rubensousa/DpadRecyclerView'
Expand Down

0 comments on commit 294c53b

Please sign in to comment.