Skip to content

asasa868/DuskMVX

Repository files navigation

DuskMVX

DuskMVX 是一个Android框架,使用了: 组件化、Kotlin、MVVM、Jetpack、MVI、Kotlin-Coroutine, 项目中的工具类是使用了AndroidUtilCode的工具类, 选择了平时项目常用的,其他没用到的就没有引入,目前只是搭建了基本的框架,还在不断完善当中。

如果有发现框架中的错误点,可以在 GitHub 上提 Issues, 欢迎大家来Star和Issues。🎆🎆🎆

项目地址:DuskMVX

引入

使用jitpack仓库 1.在项目的根目录的build.gradle中添加

dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

2.在项目的build.gradle中添加

       implementation 'com.github.asasa868:DuskMVX:xxx'

使用maven仓库 1.在项目的根目录的build.gradle中添加

dependencyResolutionManagement {
		repositories {
			mavenCentral()
		}
	}

2.在项目的build.gradle中添加

       implementation 'com.github.asasa868:DuskMVX:xxx'

具体用法

架构中封装了两种架构分别是MVVM,和MVI。 使用MVVM架构可以继承BaseMvvmActivity,使用MVI架构可以继承BaseMviActivity, Fragment就是BaseMvvmFragmentBaseMviFragment,compose版本还在研究。

资料

下面就是框架中使用到的库和未来版本要添加的功能所使用到的库(包括但不限于)。

About

An Android application development framework

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages