MCPcopy Index your code
hub / github.com/JessYanCoding/MVPArms

github.com/JessYanCoding/MVPArms @v2.5.2 sqlite

repository ↗ · DeepWiki ↗ · release v2.5.2 ↗
906 symbols 2,129 edges 108 files 398 documented · 44%
README

Logo Official

Latest Stable Version Build Status Min Sdk Version License Author QQ Group

中文说明

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 officialMvp 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 Sourece 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.

Extension points exported contracts — how you extend this code

IModel (Interface)
================================================ 框架要求框架中的每个 Model 都需要实现此类,以满足规范 @see BaseModel @see <a href="https://gi [10 …
arms/src/main/java/com/jess/arms/mvp/IModel.java
CommonCache (Interface)
================================================ 展示 RxCache#using(Class) 中需要传入的 Providers 的使用方式 Created by J [1 implementers]
demo/src/main/java/me/jessyan/mvparms/demo/mvp/model/api/cache/CommonCache.java
CacheStrategy (Interface)
Incremental change is better than ambitious failure. @author : MysticCoder @
arms-imageloader-glide/src/main/java/com/jess/arms/http/imageloader/glide/CacheStrategy.java
AppLifecycles (Interface)
================================================ 用于代理 Application 的生命周期 @see AppDelegate Created by JessYan on [5 implementers]
arms/src/main/java/com/jess/arms/base/delegate/AppLifecycles.java
UserService (Interface)
================================================ 展示 Retrofit#create(Class) 中需要传入的 ApiService 的使用方式 存放关于用户的一些 API [1 implementers]
demo/src/main/java/me/jessyan/mvparms/demo/mvp/model/api/service/UserService.java
App (Interface)
================================================ 框架要求框架中的每个 android.app.Application 都需要实现此类, 以满足规范 @see BaseApp [4 implementers]
arms/src/main/java/com/jess/arms/base/App.java
UserComponent (Interface)
================================================ 展示 Component 的用法 @see <a href="https://github.com/JessYanCoding/MVPArm
demo/src/main/java/me/jessyan/mvparms/demo/di/component/UserComponent.java
IPresenter (Interface)
================================================ 框架要求框架中的每个 Presenter 都需要实现此类,以满足规范 @see BasePresenter @see <a href="ht [4 …
arms/src/main/java/com/jess/arms/mvp/IPresenter.java

Core symbols most depended-on inside this repo

get
called by 39
arms/src/main/java/com/jess/arms/integration/cache/Cache.java
checkNotNull
called by 32
arms/src/main/java/com/jess/arms/utils/Preconditions.java
getResources
called by 30
arms/src/main/java/com/jess/arms/utils/ArmsUtils.java
toString
called by 30
demo/src/main/java/me/jessyan/mvparms/demo/mvp/model/entity/User.java
size
called by 21
arms/src/main/java/com/jess/arms/integration/cache/Cache.java
onNext
called by 16
arms/src/main/java/com/jess/arms/utils/PermissionUtil.java
build
called by 14
arms/src/main/java/com/jess/arms/integration/cache/Cache.java
isEmpty
called by 14
arms/src/main/java/com/jess/arms/utils/ArmsUtils.java

Shape

Method 775
Class 86
Interface 44
Enum 1

Languages

Java100%

Modules by API surface

arms/src/main/java/com/jess/arms/utils/DeviceUtils.java57 symbols
arms/src/main/java/com/jess/arms/di/module/GlobalConfigModule.java35 symbols
arms-imageloader-glide/src/main/java/com/jess/arms/http/imageloader/glide/ImageConfigImpl.java34 symbols
arms/src/main/java/com/jess/arms/utils/ArmsUtils.java31 symbols
arms/src/main/java/com/jess/arms/integration/AppManager.java26 symbols
demo/src/main/java/me/jessyan/mvparms/demo/mvp/ui/activity/UserActivity.java20 symbols
arms/src/main/java/com/jess/arms/widget/CustomPopupWindow.java20 symbols
arms/src/main/java/com/jess/arms/di/component/AppComponent.java17 symbols
arms/src/main/java/com/jess/arms/utils/DataHelper.java16 symbols
arms/src/main/java/com/jess/arms/integration/FragmentLifecycle.java16 symbols
arms/src/main/java/com/jess/arms/di/module/ClientModule.java16 symbols
arms/src/main/java/com/jess/arms/integration/cache/LruCache.java15 symbols

For agents

$ claude mcp add MVPArms \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact