diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Changelog.md | 3 | ||||
-rw-r--r-- | docs/Migration.md | 15 |
2 files changed, 16 insertions, 2 deletions
diff --git a/docs/Changelog.md b/docs/Changelog.md index a93b4c8..a5f24f4 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -4,8 +4,9 @@ * Update everything to Android Studio 3.1 * Fix new lint issues (see Migration for resource related methods) * :adapter: Add more IAdapter functions to help retrieve selections -* :core: Add deprecation warning to bindView for fragment based extensions; use bindViewResettable instead +* :core: Deprecate Kotterknife; use kotlin_android_extensions * :kpref-activity: Fix seekbar increment +* :core: Make KPref use Set<String> vs StringSet ## v3.7.1 * Update appcompat to 27.1.0 diff --git a/docs/Migration.md b/docs/Migration.md index ce27225..fe04270 100644 --- a/docs/Migration.md +++ b/docs/Migration.md @@ -6,13 +6,26 @@ Below are some highlights on major refactoring/breaking changes Along with the update to support Android Studio 3.1, a lot of changes have occurred with other dependencies and with lint. -* Resource ids can be negatives due to the bit overflow. Instead, `INVALID_ID` has been introduced to signify an unset or invalid id. +## Invalid Resource Id Equality + +Resource ids can be negatives due to the bit overflow. +Instead, `INVALID_ID` has been introduced to signify an unset or invalid id. Methods such as `Context.string(id, fallback)` now check against `INVALID_ID` through equality rather than using an inequality to address this. * Kotterknife has been deprecated in favour of `kotlin-android-extensions`. See [official docs](https://kotlinlang.org/docs/tutorials/android-plugin.html#view-binding). * `ProgressAnimator` has been completely rewritten to be an extension of `ValueAnimator`. This for the most part is not a breaking change, apart from the fact that creating an animator will not start it immediately. * KPref has been slightly refactored internally. Preferences backed by `StringSet` can now go back to `Set<String>` +## Deprecate Kotterknife + +Kotterknife has been deprecated in favour of `kotlin-android-extensions`. +See [official docs](https://kotlinlang.org/docs/tutorials/android-plugin.html#view-binding). + +## Update KPref + +KPref has been slightly refactored internally. +Preferences backed by `StringSet` can now go back to `Set<String>` + # v3.6.0 ## startActivity |