Skip to content

Commit

Permalink
Merge pull request #130 from rubensousa/bump_version
Browse files Browse the repository at this point in the history
Bump to 1.0.0-beta02
  • Loading branch information
rubensousa authored Apr 18, 2023
2 parents 5d3bebf + f44fab4 commit 00424e0
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 4 deletions.
17 changes: 17 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@

## Version 1.0.0

### 1.0.0-beta02

2023-04-18

#### Dependency updates

- Updated RecyclerView to stable version `1.3.0`

#### New Features

- Added support for fading edges. Check [this](migrating_leanback.md#fading-edges) for more information. ([#18](https://github.com/rubensousa/DpadRecyclerView/issues/18)).

#### Bug fixes

- Fixed `DpadRecyclerView` not measuring itself correctly when `wrap_content` is used. ([#123](https://github.com/rubensousa/DpadRecyclerView/issues/123))
- Fixed max edge alignment not working correctly when scrolling back. ([#124](https://github.com/rubensousa/DpadRecyclerView/issues/124))

### 1.0.0-beta01

2023-04-02
Expand Down
21 changes: 21 additions & 0 deletions docs/migrating_leanback.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,27 @@ However, we can use the standard `RecyclerView.ItemDecoration` API for this.
Please check the examples in the recipes at [Spacing](recipes/spacing.md).
## Fading edges
Support for fading edges is enabled with the default XML attribute `fadingEdgeLength`.
```xml linenums="1" hl_lines="5"
<com.rubensousa.dpadrecyclerview.DpadRecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fadingEdgeLength="120dp"
android:orientation="vertical|horizontal"
```
Alternatively, you can customise the fading edge with the following methods:
- `setMinEdgeFadingLength`
- `setMinEdgeFadingOffset`
- `setMaxEdgeFadingLength`
- `setMaxEdgeFadingOffset`
- `setFadingEdgeLength`
## Presenters
These will still work out of the box with `DpadRecyclerView` since they're just a wrapper over `RecyclerView.Adapter`,
Expand Down
2 changes: 1 addition & 1 deletion dpadrecyclerview-compose/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
LIBRARY_VERSION=1.0.0-beta01
LIBRARY_VERSION=1.0.0-beta02
LIBRARY_GROUP=com.rubensousa.dpadrecyclerview
LIBRARY_ARTIFACT=dpadrecyclerview-compose
# POM info
Expand Down
2 changes: 1 addition & 1 deletion dpadrecyclerview-testing/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
LIBRARY_VERSION=1.0.0-beta01
LIBRARY_VERSION=1.0.0-beta02
LIBRARY_GROUP=com.rubensousa.dpadrecyclerview
LIBRARY_ARTIFACT=dpadrecyclerview-testing
# POM info
Expand Down
2 changes: 1 addition & 1 deletion dpadrecyclerview/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
LIBRARY_VERSION=1.0.0-beta01
LIBRARY_VERSION=1.0.0-beta02
LIBRARY_GROUP=com.rubensousa.dpadrecyclerview
LIBRARY_ARTIFACT=dpadrecyclerview
# POM info
Expand Down
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-beta01'
version: '1.0.0-beta02'
social:
- icon: 'fontawesome/brands/github'
link: 'https://github.com/rubensousa/DpadRecyclerView'
Expand Down

0 comments on commit 00424e0

Please sign in to comment.