-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #90 from rubensousa/docs
Update documentation for new version
- Loading branch information
Showing
20 changed files
with
465 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,65 @@ | ||
# Changelog | ||
|
||
## 1.0.0-alpha04 (2023-02-??) | ||
## Version 1.0.0 | ||
|
||
### Improvements | ||
### 1.0.0-alpha04 | ||
|
||
### Bug fixes | ||
2023-02-13 | ||
|
||
#### New Features | ||
|
||
- Added `DpadLinearSpacingItemDecoration` and `DpadGridSpacingItemDecoration` to easily set spacing between items | ||
- Added `setScrollEnabled` to enable or disable scroll events | ||
- Added `setLayoutEnabled` to enable or disable the layout of children | ||
- Added support for reverse layout via `setReverseLayout` | ||
- Restored support for basic touch event scrolling without triggering selection or alignment changes | ||
- Added support for item prefetching for nested RecyclerViews | ||
- `setSmoothScrollMaxPendingAlignments` allows limiting the number of scroll changes still not applied | ||
- `setSmoothScrollMaxPendingMoves` allows remembering DPAD events not yet applied | ||
- Improved fast smooth scrolling in grids with different span sizes | ||
- Added `setOnChildLaidOutListener` to observe when each view is laid out | ||
- `setFocusSearchEnabledDuringAnimations` allows enabling or disabling focus changes during item animations. | ||
|
||
#### API Changes | ||
|
||
- `ViewHolderAlignment` was renamed to `SubPositionAlignment`. Now `DpadViewHolder` returns these alignments in `getSubPositionAlignments`. | ||
|
||
#### Bug fixes | ||
|
||
- Fixed `DpadRecyclerView` not searching for focus if it's currently retaining focus due to a pivot removal. This prevented accumulating pending moves during smooth scrolling. | ||
- A nested `DpadRecyclerView` now won't search for focus if its parent `RecyclerView` is still smooth scrolling ([#50](https://github.com/rubensousa/DpadRecyclerView/issues/50)) | ||
- Alignment not being restored correctly for small lists ([#71](https://github.com/rubensousa/DpadRecyclerView/issues/71)) | ||
- Unnecessary `ItemAnimator` animations were running when scrolling during item changes ([#47](https://github.com/rubensousa/DpadRecyclerView/issues/47)) | ||
- a11y scroll actions were not triggering scroll events ([#66](https://github.com/rubensousa/DpadRecyclerView/issues/66)) | ||
- Circular focus not working correctly for the first row ([#37](https://github.com/rubensousa/DpadRecyclerView/issues/37)) | ||
|
||
### Testing | ||
#### Testing | ||
|
||
- `DisableIdleTimeoutRule` will now wait for idle input after the test is over to avoid dispatching key events to other tests | ||
|
||
## 1.0.0-alpha03 (2023-01-26) | ||
### 1.0.0-alpha03 | ||
|
||
2023-01-26 | ||
|
||
#### New Features | ||
|
||
- Replaced `DpadLayoutManager` with new `PivotLayoutManager` for proper customization of layout logic ([#10](https://github.com/rubensousa/DpadRecyclerView/issues/10)), ([#16](https://github.com/rubensousa/DpadRecyclerView/issues/16)) | ||
- Added support for findFirstVisibleItemPosition and findLastVisibleItemPosition ([#23](https://github.com/rubensousa/DpadRecyclerView/issues/23)) | ||
- Added support for recycling children on detach ([#17](https://github.com/rubensousa/DpadRecyclerView/issues/17)) | ||
|
||
## 1.0.0-alpha02 (2022-12-10) | ||
#### API Changes | ||
- Replaced `DpadLayoutManager` with new `PivotLayoutManager` for proper customization of layout logic ([#10](https://github.com/rubensousa/DpadRecyclerView/issues/10)), ([#16](https://github.com/rubensousa/DpadRecyclerView/issues/16)) | ||
|
||
|
||
### 1.0.0-alpha02 | ||
|
||
2022-12-10 | ||
|
||
#### API Changes | ||
- Allow extending from `DpadRecyclerView` | ||
- Removed `RecyclerView.canScrollHorizontally` and `RecyclerView.canScrollVertically` since they're not used and clients can create them themselves | ||
|
||
## 1.0.0-alpha01 (2022-11-06) | ||
### 1.0.0-alpha01 | ||
|
||
2022-11-06 | ||
|
||
- Initial alpha release |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.