/FindViews

A plugin to auto generator findViewById code in activity, fragment and adapter, support Java and Kotlin, support butterknife.

Primary LanguageJavaApache License 2.0Apache-2.0

FindViews

jetbrains release License MIT

This is a plugin to auto generator findViewById code in activity, fragment and adapter, support java and kotlin.The latest version support viewBinding.

Install

  • Preferences/File -> Settings -> Plugins -> Marketplace -> Search for "FindViews" -> Install Plugin
  • Manually:
    • Download the latest release and install it manually using Preferences > Plugins > Install plugin from disk...
    • From official jetbrains store from download

Usage

viewBinding

activity

fragment

baseAdapter

recyclerAdapter

xml

Version Info

V5.0 Merge findViewById to ViewBinding

V4.0 Support ButterKnife.

V3.2 Add xml generate adapter class.

v3.1 Add Settings.

v3.0 Support Kotlin.

v2.0 Support BaseAdapter and RecyclerAdapter.

v1.1 support field naming conventions.

v1.0 activity、fragment generator findViewById.

License

Apache License 2.0