From 9cffe03d76840520bfbfeaf85933fcb2ed8385b8 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期三, 05 三月 2025 10:19:46 +0800 Subject: [PATCH] feat(generallibrary): 新增主界面和相关功能模块 - 新增 MainActivity 作为主界面,包含三个底部导航栏选项卡- 新增 BSCardFragment、RechargeFragment 和 MyFragment 作为三个选项卡对应的页面 - 新增 NewCardActivity 用于新建卡片 - 新增 AreaCard 类用于处理区域表号卡数据 - 新增 BaseCard 类作为卡片数据的基础类 - 新增 TabAdapter 用于管理选项卡页面 - 更新 AndroidManifest.xml 设置主活动为 MainActivity - 更新 build.gradle 添加 generallibrary 依赖 --- baselibrary/build.gradle | 23 ++++++++++++++++++++--- 1 files changed, 20 insertions(+), 3 deletions(-) diff --git a/baselibrary/build.gradle b/baselibrary/build.gradle index e7bb228..a2a0dfa 100644 --- a/baselibrary/build.gradle +++ b/baselibrary/build.gradle @@ -12,7 +12,7 @@ buildTypes { release { - minifyEnabled false + minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } @@ -30,7 +30,9 @@ dependencies { - implementation fileTree(include: ['*.jar','*.aar'], dir: 'libs') + + compileOnly fileTree(include: ['*.jar'], dir: 'exlibs') + implementation 'com.android.support:appcompat-v7:28.0.0' implementation 'com.android.support.constraint:constraint-layout:1.1.3' implementation 'androidx.core:core-ktx:1.8.0' @@ -38,12 +40,27 @@ compileOnly 'com.google.zxing:core:3.4.1' compileOnly 'com.tencent.bugly:crashreport:4.1.9.3' + implementation project(':pickerviewlibrary') + //loding +// implementation 'com.wang.avi:library:2.1.3' //婊氬姩閫夋嫨妗� - compileOnly 'com.contrarywind:Android-PickerView:4.1.9' +// compileOnly 'com.contrarywind:Android-PickerView:4.1.9' implementation "androidx.room:room-runtime:2.3.0" implementation "androidx.room:room-ktx:2.3.0" runtimeOnly("androidx.room:room-common:2.3.0") annotationProcessor "androidx.room:room-compiler:2.3.0" + implementation 'com.pnikosis:materialish-progress:1.7' + //鏉冮檺鐢宠 + compileOnly 'com.github.getActivity:XXPermissions:18.5' + + //閫氫俊 + implementation 'com.squareup.retrofit2:retrofit:2.9.0' + implementation('com.squareup.retrofit2:converter-gson:2.9.0') { + exclude group: 'com.google.code.gson'; + } + implementation 'com.squareup.retrofit2:adapter-rxjava3:2.9.0' + implementation 'io.reactivex.rxjava3:rxandroid:3.0.0' + implementation 'com.squareup.okhttp3:logging-interceptor:4.11.0' } \ No newline at end of file -- Gitblit v1.8.0