All Projects → xluu233 → mvvm_develop

xluu233 / mvvm_develop

Licence: other
mvvm+jetpack快速开发框架,包括一些常用工具封账

Programming Languages

kotlin
9241 projects
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to mvvm develop

GitMessengerBot-Android
타입스크립트, V8 엔진의 자바스크립트, 파이썬 그리고 Git을 지원하는 최첨단 메신저 봇!
Stars: ✭ 51 (+121.74%)
Mutual labels:  jetpack
Jetpack Compose News
基于Jetpack Compose实现的一款集新闻、视频、美图、音乐、天气等功能的资讯App,持续完善中...
Stars: ✭ 58 (+152.17%)
Mutual labels:  jetpack
JsonPlaceholderApp
This was originally a code challenge for a company, but now is an example of MVI on Android.
Stars: ✭ 26 (+13.04%)
Mutual labels:  jetpack
arkitekt
Arkitekt is a set of architectural tools based on Android Architecture Components, which gives you a solid base to implement the concise, testable and solid application.
Stars: ✭ 114 (+395.65%)
Mutual labels:  jetpack
fakepixiv
仿pixiv android客户端 kotlin + MVVM + DataBinding
Stars: ✭ 31 (+34.78%)
Mutual labels:  jetpack
RocketXDelight-Playground
Native Android application built with Kotlin and Jetpack Compose. This project also illustrates the usage of advanced libraries such as Ktor, SqlDelight, Hilt, etc with the recommended practices and Unit Tests.
Stars: ✭ 37 (+60.87%)
Mutual labels:  jetpack
SSJetpackComposeSwipeableView
SSJetpackComposeSwipeableView is a small library which provides support for the swipeable views. You can use this in your lazyColumns or can add a simple view which contains swipe to edit/delete functionality.
Stars: ✭ 57 (+147.83%)
Mutual labels:  jetpack
bitcoin-market-android
Bitcoin Market app shows you the current Bitcoin market price and price chart of different time intervals 💰
Stars: ✭ 284 (+1134.78%)
Mutual labels:  jetpack
Jetpack Kotlin Eyepetizer
一款基于Kotlin + Jetpack核心组件 + 协程 + 组件化实现的精美仿开眼视频App(提供Flutter、React Native、小程序版本 😁 )
Stars: ✭ 82 (+256.52%)
Mutual labels:  jetpack
android-recyclerview-binding
RecyclerView + Data Binding + LiveData Sample
Stars: ✭ 45 (+95.65%)
Mutual labels:  jetpack
navigation-component
Android navigation component examples
Stars: ✭ 22 (-4.35%)
Mutual labels:  jetpack
ChatApp
Chat app based on Firebase tools.
Stars: ✭ 88 (+282.61%)
Mutual labels:  jetpack
Holi
Holi is a lightweight Jetpack Compose library of colors, gradients and cool utility functions for all your palette needs!
Stars: ✭ 160 (+595.65%)
Mutual labels:  jetpack
Dads
*BA DUM TSSS*
Stars: ✭ 240 (+943.48%)
Mutual labels:  jetpack
MovieBox
TMDb + Kotlin + Coroutines + Retrofit2 + Moshi + Clean Architecture + Koin 2 + Glide
Stars: ✭ 46 (+100%)
Mutual labels:  jetpack
compose-ratingbar
A ratingbar composable for jetpack compose 🚀🌟
Stars: ✭ 89 (+286.96%)
Mutual labels:  jetpack
LiveData-DataBinding-Kotlin
Sample to practice LiveData + DataBinding
Stars: ✭ 89 (+286.96%)
Mutual labels:  jetpack
WanAndroidJetpack
🔥 WanAndroid 客户端,Kotlin + MVVM + Jetpack + Retrofit + Glide。基于 MVVM 架构,用 Jetpack 实现,网络采用 Kotlin 的协程和 Retrofit 配合使用!精美的 UI,便捷突出的功能实现,欢迎下载体验!
Stars: ✭ 124 (+439.13%)
Mutual labels:  jetpack
Rick-and-Morty
The Rick And Morty - MVVM with a clean architecture approach using some of the best practices in Android Development.
Stars: ✭ 45 (+95.65%)
Mutual labels:  jetpack
Imomoe
樱花动漫第三方安卓Android客户端,不含广告,免费开源,目的是学习Android开发。Discord:https://discord.gg/MyaRtRGEzr
Stars: ✭ 996 (+4230.43%)
Mutual labels:  jetpack

mvvm_develop

这是一个MVVM快速开发框架,是对目前一些较热门的技术实践,在学习某个新技术的时候,有一个测试环境。日常的Demo也会方在其中,并整理了日常开发中的常用工具,在有新的需求的时候能够快速进行开发。

本库主要采用Kotlin+Jetpack组件+组件化+主流第三方库,目标是搭建一个自己顺手的快速开发框架。

相关模块

module名称 作用
app 宿主app
base 基础功能封装
common 业务基础功能封装
buildSrc 统一依赖管理
module_tab1 UI相关功能测试
module_tab2 数据相关功能测试
module_tab3 其他测试
module_login 业务module(登录)
module_app_test 独立app模块测试
  • base

base模块是基础功能封装,不依赖任何模块,提供基础工具使用

  • common

common主要是业务基础封装,仅依赖base模块

  • buildSrc

主流的依赖管理方法,Google Demo中大多采用此方案

  • app

app,集成所有业务module,本项目采用单Activity+多Fragment模式,主体Activity在此。

  • module_community

社区模块测试,RecyclerView长列表,多类型支持,元素共享

相关参考文章

基础功能封装

这里包含了对BaseActivity、BaseFragment封装设计,比如viewBidning和databinding的处理。

参考:写一个MVVM快速开发框架(一)基础类封装

组件化搭建

各个module采用统一依赖管理,页面跳转采用ARouter,页面通信采用接口编程思想,module对外提供服务,application初始化采用@AutoService

参考:写一个MVVM快速开发框架(二)组件化改造

单Activity+多Fragment模式

将Activity作为容器,使用Navigation作为导航,可以有效提高页面跳转效率。

参考:谈一谈“单Activity+多Fragment”模式

数据处理

使用LiveData进行事件通信,Room+mmkv数据处理,网络缓存设计

参考:写一个MVVM快速开发框架(四)优雅的数据处理

Star

欢迎大家补充...

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].