当前位置: 首页 > 软件库 > 手机/移动开发 > >

MVPArms

授权协议 Apache-2.0 License
开发语言 Java
所属分类 手机/移动开发
软件类型 开源软件
地区 不详
投 递 者 虞正业
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

中文说明

A common Architecture for Android Applications developing based on MVP, integrates many Open Source Projects (like Dagger2、RxJava、Retrofit ...), to make your developing quicker and easier.

Architectural

Usage

New Project (The following steps are too cumbersome? Now you can use the new feature (generate an app Module with one click) in new projects, to avoid the cumbersome configuration of the project, to quickly open the world of MVPArms)

If you are building a new project, directly to the entire project clone (or download), as demo as the main Module (It is recommended to remove the arms Module and use Gradle to depend on this framework remotely for easy updates), then the package name into their own package name, demo Module contains the package structure can be used directly, a mainstream MVP + Dagger2 + Retrofit + RxJava framework so easy to build successful, and now you refer Mvp Package under the UserActivity format, Use Template to automatically generate MVP, Dagger2 related classes, With access to Wiki documents slowly grasp the framework to see more articles as soon as possible in the project to use it, in practice, learning is the fastest

Old Project

Old projects would like to introduce this framework, you can refer to the Wiki documentation, written in great detail

Wiki

Detailed usage reference Wiki (Must see!!!)

Notice

  • MVPArms Learning Project

  • Collection Box

  • Update Log

  • Common Issues

  • The use of these technologies for the latter part of the project maintenance and iterative, especially large projects is very helpful, but is to develop a pre-write a page to write a lot of MVP, Dagger2 class and interface, which is indeed a headache for the development of pre- Now the framework has been able to Template automatically generate some MVP, Dagger2 template code, and now we can very easily use the framework.

  • Use this frame comes with automatic screen adaptation function, please refer to AndroidAutoSize.

  • This framework does not provide any third-party libraries associated with the UI.

Functionality & Libraries

  1. Mvp Google's official Mvp architecture project, which contains several different schema branches (this is the Dagger branch).
  2. Dagger2
  3. RxJava
  4. RxAndroid
  5. Rxlifecycle
  6. RxCache
  7. RxPermissions
  8. RxErroHandler
  9. Retrofit
  10. Okhttp
  11. AndroidAutoSize
  12. Gson
  13. Butterknife
  14. AndroidEventBus
  15. Timber
  16. Glide
  17. LeakCanary

Who is using MVPArms?

天府通 小顶家装 工长端 小顶家装 工人端 小顶家装 材料端 小顶网
天天视频 天天直播 中斗通航 中斗祥云 麋鹿旅行
汇财富 觅窝 晒墨宝 智播 (Your App ...)

Acknowledgements

Thanks to all the three libraries used in this framework Author, and all for the Open Source selfless contributions Developer and Organizations, so that we can better work and study, I will also spare time return to the open source community

About Me

License

 Copyright 2016, jessyan       
  
   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.
  • 原文地址: https://www.jianshu.com/p/f671dd76868f 0 前言 0.1 起源 0.2 组件化方案分析 0.2.1 业务组件的划分和代码隔离 0.2.2 路由框架 0.2.3 基础库 0.3 ArmsComponent 的优势 1 简介 1.1 什么是组件化? 1.2 为什么要组件化? 1.3 分析现有的组件化方案 1.4 如何选择组件化方案? 2 组件化方案描述

  • 找到app下GlobalConfiguration类,将以下类替换即可实现缓存(文件路径需手动更改)package MVPArms https://github.com/JessYanCoding/MVPArms package com.mygz.inspect.app; import android.app.Application; import android.content.Context

  • 一、感谢 需要感谢JessYan大神的框架。 二、此处有坑,做个记录。 使用butterknife时出现view对象有实例化,点击事件也有问题,自己findbyId又是可以。 2019-04-16 11:50:10.889 25584-25584/dashuai.yy.mvparms.smartcampus E/AndroidRuntime: FATAL EXCEPTION: main P