/viewbinding-migration-plugin

A Plugin for Android Studio to help with migrating from synthetic properties to ViewBinding.

Primary LanguageKotlinMIT LicenseMIT

viewbinding-migration-plugin

A Plugin for Android Studio to help with migrating from synthetic properties to ViewBinding.

Installation

  • Download *.jar from latest release.
  • In Android Studio: Preferences > Plugins > Install Plugin from Disk.

Usage

  • Invoke the Rename Variabbles for ViewBinding action inside of any Kotlin file.
  • The kotlin synthetic import statements should still be present before using.
  • Usage inside files that are already using ViewBinding is possible, but pointless.

Screenshot 2022-11-25 at 11 38 55 copy

Screenshot 2022-11-25 at 10 39 23