Heads up: Development on this tool is winding down as view binding is stable in AS/AGP 3.6+.
Fix: Support receiving MotionEvent in an @OnTouch callback when using 'butterknife-reflect'.
Version 10.2.2 (2020-08-03)
Heads up: Development on this tool is winding down as view binding is stable in AS/AGP 3.6+.
Fix: Views detached while processing click callbacks will no longer disable future clicks on other views.
Version 10.2.1 (2019-12-19)
Heads up: Development on this tool is winding down as view binding will be stable in AS/AGP 3.6.
New: Make R2-generating Gradle task cacheable by default.
Fix: R2 classes now generate their own unique values for entries. This ensures that the annotation processor
can always do a reverse mapping from ID back to name and type. In AGP 3.6.0, the R.txt symbol table that was
previously used as a source for values now uses 0 for every entry which required this change.
Fix: Lint check for R2 values now properly handles static imports for entries.
Version 10.2.0 (2019-09-12)
New: Support incremental annotation processing.
Fix: Detect generated superclass bindings across compilation units.
Fix: Avoid deprecated APIs from the Android Gradle plugin. As a result, the new minimum supported version
of the Android Gradle plugin is 3.3.
Version 10.1.0 (2019-02-13)
New: Listeners which require return values (e.g., long click) can now be bound to methods returning void.
The default value of true will be returned in this case.
New: Add support for @OnTextChanged and @OnPageChange to reflection backend.
Remove enforcement of required views in the reflection backend. Most @Nullable annotations do not have
runtime retention so they can't be checked at runtime with reflection. Instead of forcing everyone to find
a new annotation, this enforcement is now dropped. While this might lead to nulls in otherwise required
view bindings, they'll either be unused or quickly cause a NullPointerException.
Heads up: Development on this tool is winding down as view binding is stable in AS/AGP 3.6+.
Fix: Support receiving MotionEvent in an @OnTouch callback when using 'butterknife-reflect'.
Version 10.2.2 (2020-08-03)
Heads up: Development on this tool is winding down as view binding is stable in AS/AGP 3.6+.
Fix: Views detached while processing click callbacks will no longer disable future clicks on other views.
Version 10.2.1 (2019-12-19)
Heads up: Development on this tool is winding down as view binding will be stable in AS/AGP 3.6.
New: Make R2-generating Gradle task cacheable by default.
Fix: R2 classes now generate their own unique values for entries. This ensures that the annotation processor
can always do a reverse mapping from ID back to name and type. In AGP 3.6.0, the R.txt symbol table that was
previously used as a source for values now uses 0 for every entry which required this change.
Fix: Lint check for R2 values now properly handles static imports for entries.
Version 10.2.0 (2019-09-12)
New: Support incremental annotation processing.
Fix: Detect generated superclass bindings across compilation units.
Fix: Avoid deprecated APIs from the Android Gradle plugin. As a result, the new minimum supported version
of the Android Gradle plugin is 3.3.
Version 10.1.0 (2019-02-13)
New: Listeners which require return values (e.g., long click) can now be bound to methods returning void.
The default value of true will be returned in this case.
New: Add support for @OnTextChanged and @OnPageChange to reflection backend.
Remove enforcement of required views in the reflection backend. Most @Nullable annotations do not have
runtime retention so they can't be checked at runtime with reflection. Instead of forcing everyone to find
a new annotation, this enforcement is now dropped. While this might lead to nulls in otherwise required
view bindings, they'll either be unused or quickly cause a NullPointerException.
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 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)
Bumps
butterKnifeVersion
from 8.0.1 to 10.2.3. Updatesbutterknife
from 8.0.1 to 10.2.3Changelog
Sourced from butterknife's changelog.
... (truncated)
Commits
888791b
Prepare version 10.2.3442e6c2
Merge pull request #1623 from JakeWharton/jw/test/2020-08-078e6db6c
Test OnTouch argument supportafdad5f
Merge pull request #1622 from lernerb/patch-150fe5d0
Fix IllegalArgumentException @ butterknife-reflectb6268e6
Is stablec2b2870
Prepare next development version4cb5a16
Prepare version 10.2.22723228
Merge pull request #1620 from lonnyzhang423/master51e872d
Avoid all@OnClick
events may not workingUpdates
butterknife-compiler
from 8.0.1 to 10.2.3Changelog
Sourced from butterknife-compiler's changelog.
... (truncated)
Commits
888791b
Prepare version 10.2.3442e6c2
Merge pull request #1623 from JakeWharton/jw/test/2020-08-078e6db6c
Test OnTouch argument supportafdad5f
Merge pull request #1622 from lernerb/patch-150fe5d0
Fix IllegalArgumentException @ butterknife-reflectb6268e6
Is stablec2b2870
Prepare next development version4cb5a16
Prepare version 10.2.22723228
Merge pull request #1620 from lonnyzhang423/master51e872d
Avoid all@OnClick
events may not workingDependabot 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 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)