• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

pengMaster/Kotlin_Mvp_Template: Kotlin+Mvp+Retrofit2+Rxjava2

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

pengMaster/Kotlin_Mvp_Template

开源软件地址(OpenSource Url):

https://github.com/pengMaster/Kotlin_Mvp_Template

开源编程语言(OpenSource Language):

Kotlin 87.2%

开源软件介绍(OpenSource Introduction):

A good framework is one that suits the team

Chinese Description

1.project brief

This project is a lightweight template project based on kotlin + Mvp + Rxjava + Retrofit package without too much redundant dependencies, suitable for rapid development as well as novice training。

2.directory structure

├── .gradle
├── .idea
├── app.main.java.package
│   ├── api                 Configure the request address
│   ├── base                base packaging
│   ├── glide               Image loading frame
│   ├── net                 Network request framework configuration
│   ├── rx                  rxjava configuration
│   ├── mvp
│   │    └── contract       view and presenter Implement method interface
│   │    └── model          Data loading layer
│   │    └── presenter      Logical processing layer (data loading page display)
│   ├── ui
│   │    └── activity       activity
│   │    └── adapter        adapter
│   │    └── fragment       fragment
│   ├── utils               utils
│   ├── view                view widget
│   ├── Constants.kt        Constants
│   ├── Extensions.kt       Extensions
│   ├── MyApplication.kt    Application
├── build
├── gradle
├── build.gradle
├── settings.gradle

3.scheme

引自MvpArms

4.choosing technology

MvpArms   KotlinMvpTemplate  
  Mvp+Rxjava+Retrofit+Dagger+modularization     Kotlin+Mvp+Rxjava+Retrofit  
  Easy to use, there are one-click generation tools, too much redundant code, not suitable for rapid development    Easy to use, suitable for rapid development and novice
  Mature framework     VMCPP  
 Java    Kotlin    
Why is it compared with MvpArms? This simple framework is only a basic framework, there is no necessity of comparing with other framework, but used for a period of time before MvpArms, also learned a lot from this, but not all the company projects are big projects, could face the demand of the rapid development, all MvpArms some function is not very suitable for the framework of team framework is good

5.technical essential

The main third-party open source frameworks used are:

6.update

  • Add Dagger2 and the redundant code is replaced with tags
  • Open one-click generation of the serve-model-presenter tool

7.Simple rendering

The project function is relatively simple, just a simple picture display. Currently, the project encapsulates the following points:

  • network request RetrofitManager encapsulation
  • network request loading - failure - success MultipleStatusView is a tool that works well
  • Base Base class activity - fragment - adapter
  • glide encapsulation
  • rxjava encapsulation
  • various tool classes encapsulation
  • shape and gradient graphics encapsulation
  • animation encapsulation

8.particular thanks

9.project address




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
arthanzel/evaluatex: Latex and ASCIIMath evaluator for Javascript.发布时间:2022-07-09
下一篇:
taipeitechmmslab/MMSLAB-Android-Kotlin发布时间:2022-07-09
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap