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.
New Project
If you are building a new project, directly to the entire project clone (or download), as app 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 , app 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
-
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 someMVP
,Dagger2
template code, and now we can very easily use the framework. -
Use this frame comes with automatic adaptation function, please refer to AndroidAutoLayout.
-
This framework does not provide any third-party libraries associated with the UI(except for the
AndroidAutoLayout
screen adaptation scheme).
Mvp
Google's officialMvp
architecture project, which contains several different schema branches (this is the Dagger branch).Dagger2
Rxjava
RxAndroid
Rxlifecycle
RxCache
RxPermissions
RxErroHandler
Retrofit
Okhttp
Autolayout
Gson
Butterknife
Androideventbus
Timber
Glide
LeakCanary
小顶家装 工长端 | 小顶家装 工人端 | 小顶家装 材料端 | 小顶网 | 智播 |
---|---|---|---|---|
天天视频 | 天天直播 | 中斗通航 | 中斗祥云 | 麋鹿旅行 |
汇财富 | 觅窝 | (Internal App ...) | (In Progress App ...) | (Your App ...) |
- Thursday, 20 July 2017: RetrofitUrlManager
- Tuesday, 13 June 2017: ProgressManager
- Wednesday, 31 May 2017: Template
- Monday, 24 April 2017: AppDelegate
- Thursday, 13 April 2017: RepositoryManager
- Thursday, 15 December 2016: AppManager
- Sunday, 25 December 2016: GlobeConfigModule
- Monday, 26 December 2016: Version Update
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
- Email: jess.yan.effort@gmail.com
- Home: http://jessyan.me
- 掘金: https://gold.xitu.io/user/57a9dbd9165abd0061714613
- 简书: http://www.jianshu.com/u/1d0c0bc634db
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.