- Update
DefaultViewBindingDialogFragment's implementation. - Remove
@PublishedApionGetInflateMethod. - The message of thrown exceptions is more friendly.
- Fix a
NullPointerExceptionwhenbindingisnullandonDestroyViewis notnull. - Refactor implementations: replace
anonymous functionsbySAM conversions.
-
Change
targetSdkVersionandcompileSdkVersionto 31. -
Updated dependencies
- Kotlin to 1.6.10
- AGP to 7.0.4
- Gradle to 7.3.3
-
Others
- Update Github workflows.
- Tracking API compatibility.
- Change
minSdkVersionto14.
- Updated dependencies:
- Kotlin to 1.5.21
- AGP to 7.0.0
- Gradle to 7.1.1
-
This is our first stable release.
-
Updated dependencies:
- Kotlin to 1.5.0.
- AGP to 4.2.
- Downgrade Gradle to 6.8.3 (JitPack.io cannot build with Gradle 7.0)
-
Update docs.
-
Updated dependencies:
- Kotlin to 1.4.32.
- Gradle to 7.0.
- AGP to 4.1.3.
-
Breaking change: Now, cannot access ViewBinding delegate property in
onDestroyView(this causes many problems). Recommended way is passing a lambda toonDestroyView: (T.() -> Unit)? = nullparameter of extension functions, eg.private val binding by viewBinding<FragmentFirstBinding>() { /*this: FragmentFirstBinding*/ button.setOnClickListener(null) recyclerView.adapter = null }
-
New feature: add inflating extensions
ViewGroup.inflateViewBinding(attachToParent: Boolean).LayoutInflater.inflateViewBinding(parent: ViewGroup? = null, attachToParent: Boolean = parent != null).Context.inflateViewBinding(parent: ViewGroup? = null, attachToParent: Boolean = parent != null).
-
Updated dependencies:
- Gradle to 6.8.2.
- Android Gradle plugin to 4.1.2.
- New features:
- Add
dialogFragmentViewBinding,DialogFragmentViewBindingDelegate: supports for theDialogofDialogFragment.
- Add
- Updated dependencies:
- Gradle to 6.7.1.
- Android Gradle plugin to 4.1.1.
- Android build tool to 30.0.3.
- Kotlin to 1.4.21.
- Hotfix
- Update to Kotlin 1.4.0, enable explicit API mode.
- Cache
java.lang.reflect.Method, updateconsumer-rules.pro. - Update README.md, documentation, example.
- Update README.md.
- Update example.
- Publish.