Skip to content

根据实体类生成数据绑定布局 Quickly to create a data binding layout.

License

Notifications You must be signed in to change notification settings

leveychen/BindingLayout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Binding Layout

中文

This Plugin is only for Android Studio.

Quickly to create a data binding layout.

Install

  • Windows:

    • File > Settings > Plugins > Browse repositories... > Search for "BindingLayout" > Install Plugin
  • MacOs:

    • Preferences > Settings > Plugins > Browse repositories... > Search for "BindingLayout" > Install Plugin
  • Manually:

    • Preferences > Plugins > Install plugin from disk...

Restart IDE.

Usage

IDE

ide.png

generate.png

Hotkey

Default: Option + L (Mac), Alt + L (Windows)

You can change the hotkey.

Demo

Before

before.png

After

after1.png after3.png after2.png

Version

v1.0.1

  • supports generate constructor.
  • supports BaseObservable entity

v1.0.0

  • quickly to create a data binding layout.

Thanks

Special thanks to GsonFormat and DataBindingModelFormatter

License

Copyright 2018 LeveyChen

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

根据实体类生成数据绑定布局 Quickly to create a data binding layout.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages