您当前的位置: 首页 >  android studio

Android Studio 插件,一键生成 MVP 代码接口以及实现类。

发布时间:2016-10-26 14:09:21 ,浏览量:0

MVPHelper
项目地址: githubwing/MVPHelper
简介:Android Studio 插件,一键生成 MVP 代码接口以及实现类。

A plugin for Intellj IDEA & Android Studio which can help you create interfaces and classes of MVP.

目前包名判断是以 cn/com/org/net/me/io 开头判断的,如大家的项目(非 demo)有其他情况(例如 me.ele.eleme),会导致 import 报错等问题,请发起 issues 告知包名开头,来修改统计。 中文文档
image
Tips

Creating a 'contract' class containing View,Presenter and Model won't create too many source files.

public interface GoodsInfoContract {

  public interface View{

  }
  public interface Presenter{

  }
  public interface Model{

  }

}

Use this helper in Contract, it will

image

How To Use Searth 'MVPHelper' in Repositories

image

or Step1

Download MVPHelper.jar

Step2

install plugin.

image
image
image image
关注
打赏
1688896170
查看更多评论

暂无认证

  • 0浏览

    0关注

    111043博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录

0.0782s