Skip to content

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

Notifications You must be signed in to change notification settings

beanu/MVPHelper

 
 

Repository files navigation

MVPHelper

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

适合泛型MVP的创建, Arad项目专用

##中文文档

##Tips

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

public interface GoodsInfoContract {
    
  public interface View{

  }
  public abstract class Presenter extends BasePresenter<View,Model>{

  }
  public interface Model{

  }

}

Use this helper in Contract, it will

image

##How To Use

###Step1

Download MVPHelper.zip ###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模式所需接口以及实现类的插件。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%