Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.maning0303:GankMM:V1.1.0_TAG'
}
dependencies {
implementation("com.github.maning0303:GankMM:V1.1.0_TAG")
}
<dependency>
<groupId>com.github.maning0303</groupId>
<artifactId>GankMM</artifactId>
<version>V1.1.0_TAG</version>
</dependency>
libraryDependencies += "com.github.maning0303" % "GankMM" % "V1.1.0_TAG"
:dependencies [[com.github.maning0303/GankMM "V1.1.0_TAG"]]
<br>
1.Retrofit2和OKHttp的使用;
2.MVP模式的基本使用;
3.RecycleView控件的使用;
4.状态的的颜色的设置;
5.Android Material Design 风格控件的基本使用;
6.SQLite的基本使用;
7.WebView的使用,夜间模式;
8.Jsoup抓取网页数据;
9.Android 6.0权限适配
10.夜间模式的使用
11.三方开源库的使用
12.Android 7.0,8.0适配安装升级
13.自定义View的相关知识
1.三方库版本升级
2.优化代码,删除无用库和代码
Name | Describe | --- | --- | GankMM | (Material Design & MVP & Retrofit + OKHttp & RecyclerView ...)Gank.io Android客户端:每天一张美女图片,一个视频短片,若干Android,iOS等程序干货,周一到周五每天更新,数据全部由 干货集中营 提供,持续更新。 | MNUpdateAPK | Android APK 版本更新的下载和安装,适配7.0,简单方便。 | MNImageBrowser | 交互特效的图片浏览框架,微信向下滑动动态关闭 | MNCalendar | 简单的日历控件练习,水平方向日历支持手势滑动切换,跳转月份;垂直方向日历选取区间范围。 | MClearEditText | 带有删除功能的EditText | MNCrashMonitor | Debug监听程序崩溃日志,展示崩溃日志列表,方便自己平时调试。 | MNProgressHUD | MNProgressHUD是对常用的自定义弹框封装,加载ProgressDialog,状态显示的StatusDialog和自定义Toast,支持背景颜色,圆角,边框和文字的自定义。 | MNXUtilsDB | xUtils3 数据库模块单独抽取出来,方便使用。 | MNVideoPlayer | SurfaceView + MediaPlayer 实现的视频播放器,支持横竖屏切换,手势快进快退、调节音量,亮度等。------代码简单,新手可以看一看。 | MNZXingCode | 快速集成二维码扫描和生成二维码 | MNChangeSkin | Android夜间模式,通过Theme实现 | SwitcherView | 垂直滚动的广告栏文字展示。 | MNPasswordEditText | 类似微信支付宝的密码输入框。 | MNSwipeToLoadDemo | 利用SwipeToLoadLayout实现的各种下拉刷新效果(饿了吗,京东,百度外卖,美团外卖,天猫下拉刷新等)。 |