本插件仅适用于 Android Studio.
快速为实体类创建用于 DataBinding 的 layout 布局
-
Windows:
- File > Settings > Plugins > Browse repositories... > Search for "BindingLayout" > Install Plugin
-
MacOs:
- Preferences > Settings > Plugins > Browse repositories... > Search for "BindingLayout" > Install Plugin
-
手动安装:
- Preferences > Plugins > Install plugin from disk...
- JetBrains Plugin Download
Restart IDE.
默认: Option + L (Mac), Alt + L (Windows)
v1.0.1
- 支持自动生成构造器
- 支持继承BaseObservable的实体类
v1.0.0
- 创建用于 data binding 的布局
- 自动生成 getter 和 setter (可配合 GsonFormat 使用,自动追加需要的方法与内容)
Special thanks to GsonFormat and DataBindingModelFormatter
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.