Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

android-coding-well/CommonUtil2

Repository files navigation

CommonUtil2

  • 集成了开发常用的工具类库lib_common
  • demo里演示了mvp模式和dagger2的用法,以及rxjava的相关示例

通知

此库已拆分为

AndroidUtils

AndroidBase

说明

  • 为了避免引入第三方库导致工程依赖多个版本的问题,如android support库
  • 故建议在个人的工程目录下的build.gradle下加入以下变量,具体请看此build.gradle
ext{
 minSdkVersion = 16
 targetSdkVersion = 25
 compileSdkVersion = 25
 buildToolsVersion = '25.0.1'
 // App dependencies
 supportLibraryVersion = '25.0.1'
 junitVersion = '4.12'
 espressoVersion = '2.2.2'
 glideVersion='3.7.0'
}
  • 请注意,对于此库已有的变量,命名请保持一致

引用

  • 如果需要用到lib_common,做法如下:
  • Add it in your root build.gradle at the end of repositories:
allprojects {
		repositories {
			...
			maven { url "https://jitpack.io" }
		}
	}
  • and then,add the dependecy:
dependencies {
	 compile 'com.github.huweijian5:CommonUtil2:latest_version'
}
  • 其中latest_version请到releases中查看

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /