Giter Club home page Giter Club logo

todomvphelper's Introduction

#说明 本插件是用于生成谷歌架构蓝图基础MVP中Fragment和Presenter文件的。 使用本插件可以提高一些生产效率,不必再手写Fragment和Presenter,只需要创建xxxContract文件,再通过Generate即可。

PS:暂未考虑开发人员对BaseView和BasePresenter进行个性封装的情况,如果需要生成别的模板内容可以修改本项目代码重新生成符合您要求的插件。

##特别感谢以下三位,他们的分享精神使我学了很多知识:

http://www.jianshu.com/p/f017097e4b26/comments/4045905#comment-4045905 (使我学会了如何进行Android Studio插件开发)

https://github.com/githubwing/MVPHelper (本项目是基于这个项目进行修改的,改成了google官方的TODO MVP形式,大家可以去多多star他哦)

https://github.com/lololiu/varname-go-die (如何在插件中读取Setting设置,参考自此项目,项目本身也很有意思,有人说程序员50%的时间是花在起名字上,哈哈)

##如何使用 ###第一步:下载TODO_MVP_Helper.jar

TODO_MVP_Helper.jar

###第二步:通过本地文件安装插件

image image

###第三步:设置BaseView包名以及使用插件自动生成代码

image image image

todomvphelper's People

Watchers

James Cloos avatar agenthun 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.