Giter Site home page Giter Site logo

vlibraryplugin's Introduction

基于(VLibrary)框架,编写的代码模板插件

开发效率提升80%

痛点解决

  • 每次写代码都要做很多得重复动作

以一个MVVM架构为例,新建Activity->继承Base类->写ViewModel->写bean-->修改xml-->然后各种关系得绑定,引用等等..

  • 这些无用且繁琐得操作,完全可以避免,此插件就是为了解决这些,让你快速高效得撸代码...
  • 你也可以下载下来,依葫芦画瓢改成自己框架所需要得代码

功能

  • 1.可一键约束资源命名(组件化开发下使用)

以你包名得最后一段得第一个字母大写为约束,比如包名为com.v.home,资源约束就是h 开启以后res文件里面生成得资源都会以h_为开头,比如h_activity,h_string

  • 2.可一键约束是否生成ViewModel代码
  • 3.一键生成VLibraryActivity(bean,viewModel,activity,xml,注册AndroidManifest)
  • 4.一键生成VLibraryFragment(bean,viewModel,activity,xml)
  • 5.一键生成VLibraryDialog(dialog,xml)
  • 6.一键生成VLibraryViewModel(bean,viewModel)
  • 7.一键生成VLibraryAdapter(bean,xml,adapter)
  • 8.一键生成VLibraryNet自定义网络架构

1.安装方法

  • (下载)
  • Android Studio File-> Settings -> Plugins -> install plugin from disk..导入下载的 VLibraryPlugin.jar
  • 重启 Android Studio .

2.安装方法

  • 源代码下载下来,编译
  • 运行 Run Plugin
  • 打开\intellij-platform-plugin-template-main\build\libs\找到里面的VLibraryPlugin.jar
  • Android Studio File-> Settings -> Plugins -> install plugin from disk..导入生成的 VLibraryPlugin.jar
  • 重启 Android Studio .

使用

  • 方法1 方法1

  • 方法2 方法1

  • 输入框解释(鼠标移动到输入框上面有相对应的中文提示) 鼠标移动到输入框上面有相对于得中文提示

vlibraryplugin's People

Contributors

oooo7777777 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.