Take CompoundButtons drawables min size into account during measurements (#528)
2.0.0
Performance improvements by avoiding child views are measured more than twice #46
The version 2.0.0 improves the performance significantly especially FlexboxLayout is deeply nested.
As described in #514, there were unnecessary measure calls even if any Flexitems in a FlexLine didn't have any flexGrow or flexShrink attributes set.
Similarly, the default values for alignItems and alignContent for FlexboxLayout has changed from stretch to flex_start starting from 2.0.0 because setting stretch for alignItems turned out to be expensive. Setting the default value as stretch might increase the unnecessary measure calls.
This is a major version release because the change may break the existing apps.
From 1.1.0 moving forward, the library is going to depend on the androidx artifacts.
No API changes from the flexbox library point of view.
1.1.0-beta1
Support AndroidX.
AndroidX libraries are still in beta versions, so this release is not from the master branch.
Once AndroidX becomes stable, we'll merge the androidx branch to master.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Looks like this PR is already up-to-date with master! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.
Bumps com.google.android:flexbox from 1.0.0 to 2.0.1.
Release notes
Sourced from com.google.android:flexbox's releases.
Commits
5b9f531
Prepare for 2.0.1 release (#533)4f317e9
Update the deprecated test dependencies. (#532)a86c232
Official Gradle Wrapper Validation GitHub Action (#531)c641750
Change the getButtonDrawable method to use the compat version of its counterp...a8c8b6e
Take CompoundButtons drawables min size into account during measurements (#528)9f9d07d
Flexline width exceeds container width (#521)239d5f7
Update READMEc679171
Preparation for 2.0.0 (#518)86ed7ce
Update the library versions (#517)d6c186b
Reduce the number of measure calls for children of Flexbox (#514)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show