Skip to content

ljlstudio/KtMvvm

Repository files navigation

KTMVVM

Android MVVM 设计模式、kotlin+mvvm+retrofit+room+jetpack

整体结构

架构整体设计模式:MVVM(databindin\viewmodel\lifecycle\livedata)
网络框架:okhttp3\retrofit\kotlin 协程
存储框架:room\kotlin协程\flow Demo演示:ViewPager2\Room\Coordinatorlayout折叠栏\CameraX\马赛克\Shapeableimageview

对应页面

功能 对应Activity
ViewPager2 ViewPager2Activity
Room数据库 RoomActivity
Coordinatorlayout折叠栏 CoordinatorActivity
CameraX CameraActivity
马赛克 MosaicActivity
Shapeableimageview ShapeImageActivity

对应展示效果

  • ViewPager2:

Screenshot_2022-08-16-14-15-35-03_af39b83e575829279cc287d559063a6c

  • Room数据库:

Screenshot_2022-08-16-14-23-45-50_af39b83e575829279cc287d559063a6c

  • CameraX仿一甜相机:

Screenshot_2022-08-16-11-55-41-03_af39b83e575829279cc287d559063a6c Screenshot_2022-08-16-11-55-36-74_af39b83e575829279cc287d559063a6c

  • 马赛克:

ezgif-4-5ae55beba8

  • 多进程下载器:

ezgif-4-a5185f0bc8

  • Shapeableimageview:

Screenshot_2022-08-16-14-39-46-51_af39b83e575829279cc287d559063a6c

About

Android MVVM 设计模式、kotlin+mvvm+retrofit+room+jetpack(ViewPager2\Room\Coordinatorlayout折叠栏\CameraX\马赛克\Shapeableimageview)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages