Releases: BelooS/ChipsLayoutManager
Additional row strategy
Added center dense strategy
With it views are placed in center of canvas. There is no extra space distributed between views.
Logs in library disabled by default. Enabled only in development build type of library
ScrollBars available
This release adds a small feature of supporting scrollbars.
Also much more features have covered with functional tests.
Test Not Driven Development
A stability release over v0.3.4.
Several of already fixed issues covered with functional/unit tests.
Since this release issues will be covered with tests to prevent regression.
Engineer's pleasure
Resolved issue : #12
Refactored main manager class code. It have been a bit bigger than 1k lines again. More docs & comments
A layout manager have become closer to the non-beta version
Issue bug fixes
Row strategies added, support finding first/last visible item positions
Added fill strategies:
Any row has some space left, where is impossible to place the next view, because that space is too small. But we could distribute that space for available views in the row.
Row strategy is a mode of distribution left space.
STRATEGY_DEFAULT
- is used by default. Left space is placed at the end of the row.
STRATEGY_FILL_VIEW
- available space is distributed among views.
STRATEGY_FILL_SPACE
- available space is distributed among spaces between views, start & end views are docked to a nearest border.
STRATEGY_CENTER
- available space is distributed among spaces between views, start & end spaces included. Views are placed in center of canvas.
In such layouts by default last row isn't considered completed. So strategy isn't applied for last row. But you can also enable opposite behaviour.
Provided support for
int findFirstVisibleItemPosition();
int findFirstCompletelyVisibleItemPosition();
int findLastVisibleItemPosition();
int findLastCompletelyVisibleItemPosition();
Of course, any release notes have to contain such line:
- bug fixes
Vertical Layout is here
- I've implemented vertical layout with LTR orientation of items. It supports all stuff as a horizontal one
- bug fixes with auto-measuring
- code-refactoring
Orientation change full support.
- positions cache restored on orientation change
- wrap_content fix ( height of view didn't decreased in case deletion with previous version)
- dependencies cleanup
- minor bug fixes
Meet breaker! Stability release
Unfortunately 0.2.1 have contained several bugs, also i forgot to implement breaker feature for RTL
layout, so this release have created to fix that.
- implemented breaker feature. You can break row due to your conditions.
- scrolling bug fix
- other bug fixes
First release for a global public
Shared with Android Arsenal & Material Up.
Horizontal СhipsLayoutManager is working without some predictive animations.
This stable beta is ready for using in general, but could have problems in some particular cases.