Skip to content

BasicLibrary是基于kotlin+jetpack+mvvm封装的一套框架,提高Android开发效率

Notifications You must be signed in to change notification settings

Peakmain/BasicLibrary

Repository files navigation

BasicLibrary

功能介绍

  • Activity Results API实现权限封装
  • MMKV的封装
  • 防止多次事件的处理
  • Retrofit封装实现网络解耦
  • 线程的切换,View的抖动效果
  • LiveData实现事件分发总线

怎样使用

Step 1. Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

	allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

but If it is a new version of Android studio,Add it in your root setting.gradle at the end of repositories:

dependencyResolutionManagement {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

Step 2. Add the dependency

	dependencies {
	        implementation 'com.github.Peakmain:BasicLibrary:+'
	}

混淆

-keep class com.peakmain.basiclibrary.permission.PkPermissionFragment {
    *;
}

-keep class com.peakmain.basiclibrary.image.ImageSelectorFragment {
    *;
}

Screenshot

demo

关于我

Donations

如果您觉得我的开源库帮您节省了大量的开发时间,请扫描下方的二维码随意打赏,您的支持将激励我不断前进 微信 支付宝

About

BasicLibrary是基于kotlin+jetpack+mvvm封装的一套框架,提高Android开发效率

Resources

Stars

Watchers

Forks

Packages

No packages published