How to To get a Git project into your build:
Step 1. Add the JitPack repository to your build file
gradle maven sbt leiningen 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.geeklx:geeklibs:Tag'
}
Share this release:
// 总依赖
implementation 'com.github.GeekCodesTeam:geeklibs:3.0.6'
或者
implementation 'com.github.GeekCodesTeam.geeklibs:libgeek:3.0.6'
或者
implementation 'com.github.GeekCodesTeam.geeklibs:libbase:3.0.6'
+
implementation 'com.github.GeekCodesTeam.geeklibs:libotherlibs:3.0.6'
implementation 'com.github.GeekCodesTeam.geeklibs:libagentweb:3.0.6'
implementation 'com.github.GeekCodesTeam.geeklibs:libxuanzeqi:3.0.6'
//
implementation 'com.github.GeekCodesTeam.geeklibs:zdkplayer:3.0.6'
// 部分依赖 implementation 'com.github.GeekCodesTeam.geeklibs:libbase:3.0.6'
implementation 'com.github.GeekCodesTeam.geeklibs:libutils:3.0.6'
implementation 'com.github.GeekCodesTeam.geeklibs:libswipebacklayout:3.0.6'
implementation 'com.github.GeekCodesTeam.geeklibs:libwebview:3.0.6'
implementation 'com.github.GeekCodesTeam.geeklibs:librararyforfileprovdider:3.0.6'
implementation 'com.github.GeekCodesTeam.geeklibs:libmvp:3.0.6'
implementation 'com.github.GeekCodesTeam.geeklibs:libretrofit:3.0.6'
implementation 'com.github.GeekCodesTeam.geeklibs:libglide47:3.0.6'
implementation 'com.github.GeekCodesTeam.geeklibs:refresh-layout:3.0.6'
implementation 'com.github.GeekCodesTeam.geeklibs:refresh-header:3.0.6'
implementation 'com.github.GeekCodesTeam.geeklibs:refresh-footer:3.0.6'
implementation 'com.github.GeekCodesTeam.geeklibs:libzxing:3.0.6'
implementation 'com.github.GeekCodesTeam.geeklibs:libxpopup:3.0.6'
implementation 'com.github.GeekCodesTeam.geeklibs:libupdateapp:3.0.6'
implementation 'com.github.GeekCodesTeam.geeklibs:libncalendar:3.0.6'
implementation 'com.github.GeekCodesTeam.geeklibs:libpictureselector:3.0.6'
implementation 'com.github.GeekCodesTeam.geeklibs:liblinkagerecyclerview:3.0.6'
implementation 'com.github.GeekCodesTeam.geeklibs:libexpandablerecyclerview:3.0.6'
implementation 'com.github.GeekCodesTeam.geeklibs:libtablayout:3.0.6'
混合移动应用框架APP-Android3
<com.haier.cellarette.baselibrary.lobsterpicker.sliders.LobsterShadeSlider
android:id="@+id/shadeslider"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
shadeslider = rootView.findViewById(R.id.shadeslider);
shadeslider.setColorAdapter(new BitmapColorAdapter(getActivity(), R.drawable.default_shader_pallete4));
shadeslider.setShadePosition(5);
// shadeslider.setColor(R.drawable.default_shader_pallete11);
shadeslider.addOnColorListener(new OnColorListener() {
@Override
public void onColorChanged(@ColorInt int color) {
MyLogUtil.e("geek111111", "" + color);
MyLogUtil.e("geek111111", "" + adjustAlpha(color, 1.0f));
// if (TextUtils.equals(f5_tv11_content, adjustAlpha(color, 1.0f) + "")) {
// Toasty.normal(getActivity(), f5_tv11.getText().toString().trim()).show();
// } else if (TextUtils.equals(f5_tv22_content, adjustAlpha(color, 1.0f) + "")) {
// Toasty.normal(getActivity(), f5_tv22.getText().toString().trim()).show();
// } else if (TextUtils.equals(f5_tv33_content, adjustAlpha(color, 1.0f) + "")) {
// Toasty.normal(getActivity(), f5_tv33.getText().toString().trim()).show();
// } else if (TextUtils.equals(f5_tv44_content, adjustAlpha(color, 1.0f) + "")) {
// Toasty.normal(getActivity(), f5_tv44.getText().toString().trim()).show();
// } else if (TextUtils.equals(f5_tv55_content, adjustAlpha(color, 1.0f) + "")) {
// Toasty.normal(getActivity(), f5_tv55.getText().toString().trim()).show();
// }
}
@Override
public void onColorSelected(@ColorInt int color) {
MyLogUtil.e("geek111111", "" + color);
MyLogUtil.e("geek111111", "" + adjustAlpha(color, 1.0f));
if (TextUtils.equals(f5_tv11_content, adjustAlpha(color, 1.0f) + "")) {
ToastUtils.showLong(f5_tv11.getText().toString().trim());
} else if (TextUtils.equals(f5_tv22_content, adjustAlpha(color, 1.0f) + "")) {
ToastUtils.showLong(f5_tv22.getText().toString().trim());
} else if (TextUtils.equals(f5_tv33_content, adjustAlpha(color, 1.0f) + "")) {
ToastUtils.showLong(f5_tv33.getText().toString().trim());
} else if (TextUtils.equals(f5_tv44_content, adjustAlpha(color, 1.0f) + "")) {
ToastUtils.showLong(f5_tv44.getText().toString().trim());
} else if (TextUtils.equals(f5_tv55_content, adjustAlpha(color, 1.0f) + "")) {
ToastUtils.showLong(f5_tv55.getText().toString().trim());
}
}
});
<com.gigamole.library.ShadowLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:sl_shadow_angle="2"
app:sl_shadow_color="#000"
android:id="@+id/sl"
app:sl_shadow_distance="5dp"
app:sl_shadow_radius="1dp"
app:sl_shadowed="true">
<ImageView
android:layout_width="100dp"
android:id="@+id/ls"
android:layout_height="100dp"
android:src="@mipmap/menu_stick" />
</com.gigamole.library.ShadowLayout>
final ShadowLayout shadowLayout = (ShadowLayout) findViewById(R.id.sl);
shadowLayout.setIsShadowed(true);
shadowLayout.setShadowAngle(45);//阴影角度
shadowLayout.setShadowRadius(20);//阴影半径
shadowLayout.setShadowDistance(30);//阴影距离
shadowLayout.setShadowColor(Color.DKGRAY);//阴影颜色
recycleViewDivider = new BookPaddingDecoration(this, OrientationHelper.VERTICAL, R.drawable.bg_book_shelf_charge9);
mRecyclerView.setLayoutManager(new GridLayoutManager(this, 3, RecyclerView.VERTICAL, false));
mRecyclerView.removeItemDecoration(recycleViewDivider);// 书架bufen
} else {
mRecyclerView.addItemDecoration(recycleViewDivider);// 书架bufen
67.StartHiddenManager:测试入口util
// https://github.com/teprinciple/UpdateAppUtils 升级
api 'com.teprinciple:updateapputilsx:2.3.0'
// https://github.com/jd-alexander/LikeButton 点击效果
api 'com.mikepenz:iconics-core:2.9.1@aar'
api 'com.mikepenz:community-material-typeface:1.8.36.1@aar'
// https://github.com/drakeet/MultiType 列表
api 'me.drakeet.multitype:multitype:3.4.4'
// https://github.com/CymChad/BaseRecyclerViewAdapterHelper 列表
api 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.40'
// https://github.com/jaredrummler/MaterialSpinner 下拉框
api 'com.jaredrummler:material-spinner:1.2.5'
// https://github.com/kyleduo/SwitchButton 按钮
api 'com.kyleduo.switchbutton:library:2.0.3'
// https://github.com/drawthink/ExpandableRecyclerView 二级列表
api 'com.drawthink:expandable-recyclerview:0.0.3'
// https://github.com/BolexLiu/AutoEx 日志上报
api 'com.github.BolexLiu.AutoEx:AutoEx-Lib-No-Op:v1.0.8'
// https://github.com/Jzvd/JZVideo 播放器
// api 'cn.jzvd:jiaozivideoplayer:7.6.0'
api project(':commonlibs:cyewulibs:slbjiaozivideoplayer')
// https://github.com/HuanHaiLiuXin/CoolViewPager viewpager
api 'com.github.HuanHaiLiuXin:CoolViewPager:v1.0.0'
// https://github.com/airbnb/lottie-android 动画
api 'com.airbnb.android:lottie:2.5.5'
// https://github.com/greenrobot/EventBus EventBus
api 'org.greenrobot:eventbus:3.1.1'
// https://github.com/Meituan-Dianping/walle walle
api 'com.meituan.android.walle:library:1.1.7'
// https://github.com/BolexLiu/PressScanCode 一个可实现长按扫描 View 上的二维码的工具库。webView 也可以。 集成后您仅需三行代码就可以实现解析。
api 'com.github.BolexLiu:PressScanCode:v1.0.0'
// https://github.com/ethanhua/Skeleton 加载页面过度动画
api 'com.ethanhua:skeleton:1.1.2'
// https://github.com/team-supercharge/ShimmerLayout 加载页面过度动画
api 'io.supercharge:shimmerlayout:2.1.0'
// api 'com.larswerkman:lobsterpicker:1.0.1'
// https://github.com/square/leakcanary 内存溢出
api librarys.leakcanaryAndroid
// https://github.com/JessYanCoding/AndroidAutoSize 今日头条适配
api 'me.jessyan:autosize:1.2.1'
// https://github.com/gongwen/MarqueeViewLibrary 滚动信息
api 'com.gongwen:marqueelibrary:1.1.3'
//
api 'com.tencent.tinker:tinker-android-lib:1.9.14.3'
api 'com.tencent.bugly:crashreport_upgrade:1.5.2'//
api 'com.tencent.bugly:nativecrashreport:3.9.1' //
// https://github.com/KunMinX/Linkage-RecyclerView Linkage-RecyclerView 的目标是:一行代码即可接入二级联动列表。
api 'com.kunminx.linkage:linkage-recyclerview:2.3.5'
// https://github.com/LuckSiege/PictureSelector 图片选择器
api 'com.github.LuckSiege.PictureSelector:picture_library:v2.6.1'
// https://github.com/dongjunkun/DropDownMenu 下拉框
api 'com.github.dongjunkun:DropDownMenu:1.0.4'
// https://github.com/jgilfelt/SystemBarTint 系统通知栏
api 'com.readystatesoftware.systembartint:systembartint:1.0.3'
// https://github.com/koral--/android-gif-drawable 加载GIF
api 'pl.droidsonroids.gif:android-gif-drawable:1.2.22'
// https://github.com/hongyangAndroid/FlowLayout FlowLayout
api 'com.hyman:flowlayout-lib:1.1.2'
// https://github.com/AigeStudio/WheelPicker 滚轮选择器
api 'cn.aigestudio.wheelpicker:WheelPicker:1.1.2'
// https://github.com/shaohui10086/BottomDialog 弹出框
api 'me.shaohui:bottomdialog:1.1.9'
// https://github.com/yhaolpz/FloatWindow 悬浮框
api 'com.github.yhaolpz:FloatWindow:1.0.9'
// https://github.com/dfqin/PermissionGrantor 权限
api 'com.github.dfqin:grantor:2.5'
// For developers using AndroidX in their applications
// api 'pub.devrel:easypermissions:3.0.0' 权限
// For developers using the Android Support Library
api 'pub.devrel:easypermissions:3.0.0'
// https://github.com/getActivity/XXPermissions 权限
api 'com.hjq:xxpermissions:9.6'
// https://github.com/yanzhenjie/AndPermission 权限
api 'com.yanzhenjie:permission:2.0.3'
// https://github.com/yshrsmz/KeyboardVisibilityEvent
api 'net.yslibrary.keyboardvisibilityevent:keyboardvisibilityevent:2.3.0' 监听键盘弹出过程
// https://github.com/getActivity/ToastUtils
api 'com.hjq:toast:5.8'
// https://github.com/everhad/AndroidRatingStar 评论星星 PingfenMainActivity
api 'com.github.everhad:AndroidRatingStar:v1.0.4'
// https://github.com/li-xiaojun/XPopup 弹出框
api 'com.lxj:xpopup:1.8.4'
// https://github.com/meetsl/SCardView-master 一个可以配置阴影方向和颜色的类 CardView 控件 SCardView
api 'io.github.meetsl:SCardView:1.1'
// https://github.com/nanchen2251/BankCardUtils 判断
api 'com.github.nanchen2251:BankCardUtils:1.0.2'
// https://github.com/SherlockGougou/BigImageViewPager 大图预览
api 'com.github.SherlockGougou:BigImageViewPager:v4_2.1.0'
// https://github.com/zzhoujay/RichText/ 富文本
api 'com.zzhoujay.richtext:richtext:3.0.7'
// https://github.com/maning0303/MNProgressHUD 一个常用的自定义弹框封装
api 'com.github.maning0303:MNProgressHUD:V1.1.8X'
// https://github.com/MZCretin/ExpandableTextView 实现类似微博内容,@用户,链接高亮,@用户和链接可点击跳转,可展开和收回的TextView
api 'com.github.MZCretin:ExpandableTextView:v1.6.1-x'
// https://github.com/Manabu-GT/ExpandableTextView 实现类似微博内容,@用户,链接高亮,@用户和链接可点击跳转,可展开和收回的TextView
api 'com.ms-square:expandableTextView:0.1.4'
// https://github.com/yanzhenjie/NoFragment Fragment的封装,启动Fragment只需要调用startFragment(XXFragment.class);
api 'com.yanzhenjie:fragment:1.0.1'
//TODO common libs
implementation project(':baselibrary')
// 支持分版本网络请求
bxnt_nationImplementation project(':yewulibs1:yewulibs1-libvariants')
bxny_nationImplementation project(':yewulibs1:yewulibs1-libvariants')
bxn_nationImplementation project(':yewulibs1:yewulibs1-libvariants')
// jpush推送
// api project(':commonlibs:bhunheku:libappjpush')
// jpush分享
api project(':commonlibs:bhunheku:libappjpushshare')
// jpush统计
api project(':commonlibs:bhunheku:libappjpushstatistics')
// Umeng统计
api project(':commonlibs:bhunheku:libappumengstatistics')
// mob分享
api project(':commonlibs:bhunheku:libappmob')
// 支付
api project(':commonlibs:bhunheku:libapppay')
// Glide 4.0以上
api librarys.glide47
api project(':libglide47')
//TODO other libs
// https://github.com/crazyandcoder/citypicker 城市选择器
// pi 'liji.library.dev:citypickerview:4.3.2'
api project(':commonlibs:cyewulibs:slbcitypickerview')
// slbbluetooth 蓝牙
api project(':commonlibs:cyewulibs:slbbluetooth')
// jiaozivideoplayer 播放器
api project(':commonlibs:cyewulibs:slbjiaozivideoplayer')
// ncalendar 小米日历
api project(':commonlibs:cyewulibs:slbncalendar')
// slbota OTA升级
api project(':commonlibs:cyewulibs:slbota')
// https://github.com/ikew0ng/SwipeBackLayout
// api 'me.imid.swipebacklayout.lib:library:1.1.0' 关闭页面IOS效果
api project(':libswipebacklayout')
// slbwifi WIFI选择器
api project(':commonlibs:cyewulibs:slbwifi')
// https://github.com/scwang90/SmartRefreshLayout 下拉刷新上拉加载
api project(':commonlibs:smartrefreshlayout:refresh-footer')
api project(':commonlibs:smartrefreshlayout:refresh-header')
api project(':commonlibs:smartrefreshlayout:refresh-layout')
//
api 'com.shuyu:GSYVideoPlayer:7.1.5' 播放器
// api 'com.shuyu:gsyVideoPlayer-java:7.0.1'
//是否需要ExoPlayer模式
// api 'com.shuyu:GSYVideoPlayer-exo2:7.0.1'
//更多ijk的编码支持
// api 'com.shuyu:gsyVideoPlayer-ex_so:7.0.1'
// api('com.shuyu:GSYVideoPlayer:7.0.1') {
//// exclude module: 'support-v4'
// exclude(group: 'com.android.support', module: 'support-annotations')
// }
// uploadpic 图片选择器old
api project(':commonlibs:cyewulibs:slbimagepicker')
// https://github.com/jenly1314/ZXingLite 扫码
// api 'com.king.zxing:zxing-lite:1.1.4-androidx'
api project(':commonlibs:zxinglibs:zxinglibs1')
api project(':commonlibs:zxinglibs:zxinglibs2')
api project(':commonlibs:zxinglibs:zxinglibs3')
// recycleview
api project(':commonlibs:bhunheku:libZRecyclerView')
// https://github.com/wangyiwy/PDF_Preview PDF
api project(':commonlibs:bhunheku:libpdf')
// 高德地图 地图marker
api project(':commonlibs:bhunheku:liblocations')
已知问题: 1.融云问题: D:\code\lib7\bumenyanfa\fsjxappkuangjia-android\yewulibs1\yewulibs1-app\build
intermediates\merged_native_libs\bxn_nationRelease\out\lib\armeabi-v7a\libRongIMLib.so because of
non-zero exit value from objcopy. D:
\code\android-studio-ide-201.6953283-windows\sdk\ndk\23.0.7599858\toolchains
llvm\prebuilt\windows-x86_64\bin\llvm-strip.exe: error: section [index 11] has a sh_offset (0x19c80)
- sh_size (0xb61b8) that is greater than the file size (0x86214)