All Projects → LinuxparaChen → EdgeMvp

LinuxparaChen / EdgeMvp

Licence: Apache-2.0 license
一个MVP架构利器。自动生成接口文件,且不需要实现接口。

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to EdgeMvp

Android-Starter-Kit
This is up-to-date android studio project for native android application, that is using modern tools and libraries.
Stars: ✭ 16 (-71.43%)
Mutual labels:  mvp, mvp-pattern, mvp-android
Mvpandroid
Sample app to demonstrate MVP (Model - View - Presenter) architecture in android
Stars: ✭ 91 (+62.5%)
Mutual labels:  mvp, mvp-pattern, mvp-android
Rxweather
Architecting Android with RxJava
Stars: ✭ 570 (+917.86%)
Mutual labels:  mvp, mvp-pattern, mvp-android
Mvpart
🎨 A new Android MVP architecture (此框架旨在解决传统 MVP 类和接口太多, 并且 Presenter 和 View 通过接口通信过于繁琐, 重用 Presenter 代价太大等问题).
Stars: ✭ 776 (+1285.71%)
Mutual labels:  mvp, mvp-pattern, mvp-android
Mvparms
⚔️ A common architecture for Android applications developing based on MVP, integrates many open source projects, to make your developing quicker and easier (一个整合了大量主流开源项目高度可配置化的 Android MVP 快速集成框架).
Stars: ✭ 10,146 (+18017.86%)
Mutual labels:  mvp, mvp-pattern, mvp-android
visum
Android reactive MVP stack
Stars: ✭ 19 (-66.07%)
Mutual labels:  mvp, mvp-pattern, mvp-android
Memorize
🚀 Japanese-English-Mongolian dictionary. It lets you find words, kanji and more quickly and easily
Stars: ✭ 72 (+28.57%)
Mutual labels:  mvp, mvp-pattern, mvp-android
KotlinMvpTemplateGenerator
Android Studio template for Kotlin with MVP + Dagger2 + Retrofit2
Stars: ✭ 65 (+16.07%)
Mutual labels:  mvp, mvp-pattern, mvp-android
wikilight
A lightweight Wikipedia Client
Stars: ✭ 50 (-10.71%)
Mutual labels:  mvp, mvp-pattern, mvp-android
Android Kotlin Mvp Clean Architecture
Clean architecture blueprint using Kotlin and MVP pattern.
Stars: ✭ 105 (+87.5%)
Mutual labels:  mvp, mvp-pattern, mvp-android
Android Mvp Architecture
🏛 A basic sample android application to understand MVP in a very simple way. Just clone, build, run and understand MVP.
Stars: ✭ 203 (+262.5%)
Mutual labels:  mvp, mvp-pattern, mvp-android
Kotlinmvparchitecture
Clean MVP Architecture with Dagger2 + Retrofit2 + Mockito + Fresco + EasiestGenericRecyclerAdapter using Kotlin. Added Unit Tests(Kotlin Tests)!
Stars: ✭ 143 (+155.36%)
Mutual labels:  mvp, mvp-pattern, mvp-android
Kotlinrxmvparchitecture
Clean MVP Architecture with RxJava + Dagger2 + Retrofit2 + Mockito + Fresco + EasiestGenericRecyclerAdapter using Kotlin. Includes Unit Tests(Kotlin Tests)!
Stars: ✭ 94 (+67.86%)
Mutual labels:  mvp, mvp-pattern, mvp-android
Android Clean Architecture Boilerplate
Apply clean architecture on Android
Stars: ✭ 141 (+151.79%)
Mutual labels:  mvp, mvp-pattern, mvp-android
Trickl
trickl torrent client
Stars: ✭ 50 (-10.71%)
Mutual labels:  mvp, mvp-pattern, mvp-android
Android Mvp Dagger2 Flytranslate
MVP+RxJava+Retrofit+Dagger2, FlyTranslate是基于MVP开发的Android应用程序的通用架构集成了许多开源项目如Dagger2,RxJava,Retrofit ,使您的开发更快捷,更轻松。
Stars: ✭ 188 (+235.71%)
Mutual labels:  mvp, mvp-android
Moxy
Moxy is MVP library for Android with incremental annotation processor and ktx features
Stars: ✭ 234 (+317.86%)
Mutual labels:  mvp, mvp-android
Androidbasemvp
🚀一个快速搭建MVP+RxJava2+Retrofit 基础框架,主要是封装有Http网络请求、日志、缓存、加载等待、toast、页面状态布局管理、权限、RxBus、Glide图片加载等组件,方便快速开发新项目、减少开发成本。
Stars: ✭ 184 (+228.57%)
Mutual labels:  mvp, mvp-android
Linkage Recyclerview
即使不用饿了么订餐,也请务必收藏好该库!🔥 一行代码即可接入,二级联动订餐列表。
Stars: ✭ 2,970 (+5203.57%)
Mutual labels:  mvp, mvp-android
Preservely
Lightweight Android lib preserving objects instances during orientation changes
Stars: ✭ 22 (-60.71%)
Mutual labels:  mvp, mvp-android

EdgeMvp

一个MVP架构利器。自动生成接口文件,且不需要实现接口。

  • View层使用@MvpView注解,标注为view。
  • Presenter层使用@MvpView注解,标注为presenter。
  • 使用@ExtractItf注解标注方法,此方法将会被抽取到接口中。
jcenter下载
dependencies {
    implementation 'com.linuxpara:edgemvp:1.0.4'
    annotationProcessor 'com.linuxpara:edgemvp-complier:1.0.4'
}
使用方法:
  1. @MvpView使用

    EdgeMvp框架view层使用

  2. @MvpPresenter使用

    EdgeMvp框架presenter层使用

  3. 点击编译按钮,自动生成代码。(PS:同步按钮不会生成代码)

  4. view层中创建presenter对象。

    private ILoginPresenter mPresenter;
    
    .....
    
    mPresenter = EdgeMvp.createPresenter(this);
    mPresenter.login("test", "12345");
  5. presenter层中获取view对象。

    ((ILoginView) EdgeMvp.getViewProxy(LoginPresenter.this));
不足的地方:
  • 注解标注完,需要编译才能生成生成需要的文件。
  • createPresenter()、getViewProxy()需要生成代码后,调用才会有效,并且需要强转。
结束:

该项目还存在不足的地方,各位大神有什么好的想法或者建议,望不吝赐教。

最后,都看这里了,给点个星呗。(^∀^)

Email: [email protected]
License
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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].