优质Android 源码现有各类源码接近6000套,视频教程100套,主要涉及.net网站、软件与安卓系列源码,
每套源码都已经经过测试,必须附加使用说明或帮助文档。靠谱不坑爹! 需要打包下载合集地址请的朋友
,欢迎您与我交流 QQ群: 258450620 或QQ:50841662
Android 源代码大约6000套,源代码数据大约8G,源代码视频教程大约30G
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
│
本人定期更新经典案例及解决方案如有疑问请联系我QQ1822282728
Android runtime permissions powered by RxJava2
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.tbruyelle:rxpermissions:0.10.2'
}
完全仿微信的图片选择,并且提供了多种图片加载接口,选择图片后可以旋转,可以裁剪成矩形或圆形,可以配置各种其他的参数
compile 'com.lzy.widget:imagepicker:0.6.1' //指定版本
相册选择图片.
城市选择、定位、搜索及右侧字母导航,类似美团 百度糯米 饿了么等APP选择城市功能
dependencies {
implementation 'com.zaaach:citypicker:2.0.3' //必选
implementation 'com.android.support:recyclerview-v7:27.1.1' //必选
}
android 经量级选择图片框架,支持拍照,获取相册图片,可以多选,单选
存在bug
step1: add to your project build.gradle
buildscript {
repositories {
maven { url "https://jitpack.io" }
...
}
}
step2: Add the dependency
dependencies {
compile 'com.jhworks.library:ImageSelect:1.1.1'
}
史上最简单侧滑菜单,0耦合,支持任意ViewGroup。一步集成侧滑(删除)菜单,高仿QQ、IOS
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" }
}
}
Step 2. Add the dependency
dependencies {
implementation 'com.github.mcxtzhang:SwipeDelMenuLayout:V1.3.0'
}
EasySwipeMenuLayout
侧滑删除
https://github.com/anzaizai/EasySwipeMenuLayout
you need to add jitpack repository infomaition to build.gradle in your project.
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
You need to add library dependencies infomation to build.gradle in your module.
compile 'com.github.anzaizai:EasySwipeMenuLayout:1.1.2'
XMarqueeView
作者:jxnk25
链接:https://www.jianshu.com/p/8d0972ac2236
來源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。
dependencies {
compile 'com.xhb:xmarqueeview:2.0.0'
}
Dachshund Tab Layout
炫酷的tablayout
开源地址:
AndroidAutoLayout
Android屏幕适配方案,直接填写设计图上的像素尺寸即可完成适配,最大限度解决适配问题
开源地址:
SectionedRecyclerView
dependencies{
compile 'com.truizlop.sectionedrecyclerview:library:1.2.0'
}
hellocharts-android
Android Studio/Gradle
Maven Central/jCenter, add dependency to your build.gradle:
dependencies{
compile 'com.github.lecho:hellocharts-library:1.5.8@aar'
}
JitPack.io, add jitpack.io repositiory and dependency to your build.gradle:
repositories {
maven {
url "https://jitpack.io"
}
}
dependencies {
compile 'com.github.lecho:hellocharts-android:v1.5.8'
}
org.slf4j:slf4j-api:添加日志管理
dependencies {
compile 'org.slf4j:slf4j-api:1.7.25'
compile 'com.github.tony19:logback-android:1.1.1-12'
}
jpinyin
JPinyin是一个汉字转拼音的Java开源类库,在PinYin4j的功能基础上做了一些改进。
https://github.com/stuxuhai/jpinyin
app 中的 build.gradle:
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
dependencies {
compile 'com.github.SilenceDut:jpinyin:v1.0'
}
FlycoTabLayout
dependencies{
compile 'com.android.support:support-v4:23.1.1'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.flyco.roundview:FlycoRoundView_Lib:1.1.2@aar'
compile 'com.flyco.tablayout:FlycoTabLayout_Lib:1.5.0@aar'
}
After v2.0.0
dependencies{
compile 'com.android.support:support-v4:23.1.1'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.flyco.tablayout:FlycoTabLayout_Lib:2.0.0@aar'
}
After v2.0.2(support 3.0+)
dependencies{
compile 'com.android.support:support-v4:23.1.1'
compile 'com.flyco.tablayout:FlycoTabLayout_Lib:2.1.2@aar'
}
topsnackbar
Show a Snackbar from the top.
https://github.com/AndreiD/TSnackBar
app 中的 build.gradle:
dependencies {
compile 'com.androidadvance:topsnackbar:1.1.1'
}
permissions4m
意为 Permissions for M,基于 hongyangAndroid 的 MPermissions 项目二次开发,使用编译时注解,较运行时注解效率更高。起初目的是仅作为纯粹的 Andriod 编译时注解项目,较原有项目有以下升级:
https://github.com/jokermonn/permissions4m#single
project 中的 build.gradle:
buildscript {
// ...
}
allprojects {
repositories {
// 请添加如下一行
maven { url 'https://jitpack.io' }
}
}
app 中的 build.gradle:
dependencies {
compile 'com.github.jokermonn:permissions4m:2.1.2-lib'
annotationProcessor 'com.github.jokermonn:permissions4m:2.1.2-processor'
}
阿里ARouter使用
android {
defaultConfig {
...
javaCompileOptions {
annotationProcessorOptions {
arguments = [ moduleName : project.getName() ]
}
}
}
}
dependencies {
// 替换成最新版本, 需要注意的是api
// 要与compiler匹配使用,均使用最新版可以保证兼容
compile 'com.alibaba:arouter-api:x.x.x'
annotationProcessor 'com.alibaba:arouter-compiler:x.x.x'
...
}
底部弹出窗体
compile 'com.flipboard:bottomsheet-commons:1.5.1'
compile 'com.flipboard:bottomsheet-core:1.5.1'
FadingActionBar
标题栏透明渐变效果的实现
Android库实现了动作条的衰落效果,类似于Play Music应用程序中的效果
https://github.com/ManuelPeinado/FadingActionBar
compile 'com.github.manuelpeinado.fadingactionbar:fadingactionbar:3.1.2'