sylcrq / MVPHelper

A plugin for Intellj IDEA & Android Studio which can help you generate interfaces and classes of MVP. 一款Intellj IDEA 和Android Studio 自动生成MVP模式所需接口以及实现类的插件。

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MVPHelper

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 ##Step3 Click Generate --> MVPHelper in Contract or Presenter class.

image image

#Eclipse

[GO HOME

License

Copyright 2016 androidwing1992

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

    http://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

A plugin for Intellj IDEA & Android Studio which can help you generate interfaces and classes of MVP. 一款Intellj IDEA 和Android Studio 自动生成MVP模式所需接口以及实现类的插件。


Languages

Language:Java 100.0%