ViewBindingDelegate Versions Save

Simple one-liner ViewBinding in Fragments and Activities with Kotlin 🍄 Simplify usage of Android View Binding with Kotlin Property Delegates and solve behavior of Fragment’s ViewLifecycleOwner 🌱 ViewBindingPropertyDelegate

1.4.0

1 year ago

1.4.0 - Aug 5, 2022

  • Change targetSdkVersion and compileSdkVersion to 32.

  • Updated dependencies

    • Kotlin to 1.7.10.
    • AGP to 7.2.2.
    • Gradle to 7.5.
    • AndroidX Fragment to 1.5.1.
    • AndroidX Lifecycle to 2.5.1.
    • AndroidX ViewBinding to 7.2.2.
    • AndroidX AppCompat to 1.4.2.
  • New feature: added 2 preload functions used to find and cache java.lang.reflect.Methods when using reflection, which can improve the performance. We should call 2 methods in Application class or AndroidX StartUp Initializer class.

    • public fun preloadBindMethods(vararg classes: KClass<out ViewBinding>).
    • public fun preloadInflateMethods(vararg classes: KClass<out ViewBinding>).
  • Internal refactoring Methods cache.


Full Changelog: https://github.com/hoc081098/ViewBindingDelegate/compare/1.3.1...1.4.0

1.4.0-beta03

1 year ago

What's Changed

Full Changelog: https://github.com/hoc081098/ViewBindingDelegate/compare/1.4.0-beta02...1.4.0-beta03

1.4.0-beta01

1 year ago

TBD

What's Changed

Full Changelog: https://github.com/hoc081098/ViewBindingDelegate/compare/1.3.1...1.4.0-beta01

1.3.1

2 years ago
  • Update DefaultViewBindingDialogFragment's implementation.
  • Remove @PublishedApi on GetInflateMethod.
  • The message of thrown exceptions is more friendly.
  • Fix a NullPointerException when binding is null and onDestroyView is not null.
  • Refactor implementations: replace anonymous functions by SAM conversions.

What's Changed

Full Changelog: https://github.com/hoc081098/ViewBindingDelegate/compare/1.3.0...1.3.1

1.3.0

2 years ago
  • Change targetSdkVersion and compileSdkVersion to 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.

Full Changelog: https://github.com/hoc081098/ViewBindingDelegate/compare/1.2.0...1.3.0

1.2.0

2 years ago
  • Change minSdkVersion to 14.

1.1.0

2 years ago
  • Updated dependencies:
    • Kotlin to 1.5.21
    • AGP to 7.0.0
    • Gradle to 7.1.1