alse // 移除无用的资源文件 shrinkResources false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' signingConfig signingConfigs.appkey } } productFlavors { yingyongbao {} xiaomi {} huawei {} oppo {} junxin {} } productFlavors.all { flavor -> flavor.manifestPlaceholders = [UMENG_CHANNEL_VALUE: name] } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' testImplementation 'junit:junit:4.13' androidTestImplementation 'androidx.test.ext:junit:1.1.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' //material MD implementation 'com.google.android.material:material:1.1.0' //recyclerview implementation "androidx.recyclerview:recyclerview:1.1.0" // For control over item selection of both touch and mouse driven selection implementation "androidx.recyclerview:recyclerview-selection:1.1.0-rc01" //glide implementation 'com.github.bumptech.glide:glide:4.11.0' //gson implementation 'com.google.code.gson:gson:2.8.5' //eventbus implementation 'org.greenrobot:eventbus:3.1.1' //网络请求的依赖 implementation 'com.squareup.retrofit2:retrofit:2.6.0' implementation 'com.squareup.retrofit2:converter-gson:2.6.0' implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0' implementation 'com.squareup.okhttp3:logging-interceptor:3.14.2' //图片选择器 implementation 'com.github.LuckSiege.PictureSelector:picture_library:v2.5.8' //banner implementation "com.youth.banner:banner:2.1.0" //cardview implementation "androidx.cardview:cardview:1.0.0" //友盟基础组件库包含统计SDK implementation "com.umeng.umsdk:common:9.1.0" // asms包依赖(必选) implementation 'com.umeng.umsdk:asms:1.1.3' // native crash包依赖(必选) implementation "com.umeng.umsdk:crash:0.0.4" //如您不在U-App的集成中加入OAID库,可能会导致U-App面向Android Q系统的新增、启动、活跃、留存等指标减少,因此,建议您接入OAID库。 implementation 'com.umeng.umsdk:oaid_lenovo:1.0.0' // (可选) implementation 'com.umeng.umsdk:oaid_mi:1.0.0' // (可选) implementation 'com.umeng.umsdk:oaid_oppo:1.0.4' // (可选) implementation 'com.umeng.umsdk:oaid_vivo:1.0.0.1' // (可选) //butterknife implementation 'com.jakewharton:butterknife:10.2.1' annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.1' //今日头条适配 implementation 'me.jessyan:autosize:1.2.1' implementation 'com.github.lzyzsd:jsbridge:1.0.4' //权限申请 implementation 'com.github.tbruyelle:rxpermissions:0.12' implementation 'io.reactivex.rxjava3:rxjava:3.0.4' implementation 'io.reactivex.rxjava3:rxandroid:3.0.0' //状态栏 // implementation 'com.gyf.immersionbar:immersionbar:3.0.0' //打卡完成对勾控件 implementation 'com.github.ChengangFeng:TickView:v1.0.2' //S3 implementation 'com.amazonaws:aws-android-sdk-core:2.17.1' implementation 'com.amazonaws:aws-android-sdk-s3:2.3.8' //长图大图预览 implementation 'com.github.chrisbanes:PhotoView:2.3.0' //微信登录 api 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+' //下拉刷新 implementation 'com.scwang.smart:refresh-layout-kernel:2.0.1' implementation 'com.scwang.smart:refresh-header-classics:2.0.1' implementation 'com.shuyu:GSYVideoPlayer:7.1.6' } zeropay - Gogs: Go Git Service

0元购Android端

comment_item.xml 3.4KB

    <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingTop="17.5dp" android:orientation="horizontal"> <ImageView android:id="@+id/comm_item_avatar" android:layout_width="34dp" android:layout_height="34dp" android:layout_marginRight="9dp" android:src="@mipmap/user_defult2" /> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <LinearLayout android:id="@+id/comm_item_first" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal"> <TextView android:id="@+id/comm_item_name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="张无忌" android:textColor="@color/app_color_999" android:textSize="14sp" /> <TextView android:id="@+id/comm_item_is_top" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" android:text="置顶" android:textColor="@color/app_color_999" android:textSize="12sp" android:layout_marginRight="15dp" android:background="@drawable/shape_turn_top_btn" /> </RelativeLayout> <TextView android:id="@+id/comm_item_cotent" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="5dp" android:text="芷若,嫁给我吧!09-08" android:textColor="@color/app_color_333" android:textSize="14sp" /> </LinearLayout> <LinearLayout android:id="@+id/comm_item_son_container" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <!--在此容器内,动态添加评论--> <!-- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . --> </LinearLayout> <TextView android:id="@+id/comm_item_son_blue_word" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="15dp" android:text="展开1条评论" android:textColor="@color/blue_word" android:textSize="14sp" android:visibility="gone" /> <View android:id="@+id/comm_item_devider" android:layout_width="match_parent" android:layout_height="0.5dp" android:layout_marginTop="20dp" android:layout_marginRight="15dp" android:background="@color/app_color_8cd" /> </LinearLayout> </LinearLayout>
zhuhaiwen/zeropay - Gogs: Go Git Service

311 Commits (e1efe522db6add89e64d871889252ab3a66eb79c)

Author SHA1 Message Date
  朱海文 5ca6c41423 降低build gradle->3.51 4 years ago
  朱海文 c266924ef1 BaseJumpToActivity 4 years ago
  朱海文 4adb5d3494 a 4 years ago
  朱海文 01247900bd 删除剩余次数提示 4 years ago
  朱海文 e121ddafdc 打卡记录2 4 years ago
  朱海文 ce2dbc9a6c junxin.apk ignor 4 years ago
  朱海文 dc16c4141a a 4 years ago
  朱海文 69ca7517e9 loading设置背景 4 years ago
  朱海文 23c00880f1 打卡记录完成 4 years ago
  朱海文 cc50af70c5 打卡记录1 4 years ago
  朱海文 0dc92c93c5 第二套接口调试 4 years ago
  朱海文 386a7e2396 首页列表修改 4 years ago
  朱海文 3e6185674f 自定video 4 years ago
  朱海文 fa1da96be9 Merge branch 'feature/视频播放器的修改' into develop 4 years ago
  朱海文 dde69f556c a 4 years ago
  朱海文 9f2369e934 title 4 years ago
  朱海文 2c039c9fe5 Merge branch 'feature/award-bg' into develop 4 years ago
  朱海文 57bc1b3c70 tast-rv设置左右边距 4 years ago
  朱海文 5a7cb13909 record activity 4 years ago
  朱海文 fd5c37108f Navigationbar 4 years ago
  朱海文 f44bd6491a splash拉伸 4 years ago
  朱海文 124d938c2b a 4 years ago
  朱海文 ef2835b98d add SignInRecordActivity 4 years ago
  朱海文 d1cf8fe968 删除BaseActivty中的event bus 4 years ago
  朱海文 cfc55bb07e JXToolbar自定义属性 4 years ago
  朱海文 541881e288 onRestart() 重新换头像 4 years ago
  朱海文 91ef6700ab 领奖页增加loading 4 years ago
  朱海文 3957418e06 a 4 years ago
  dabin 956dc67350 [MOD]首次加载先加载本地假数据 4 years ago
  dabin 362b09e46f [MOD]样式修改 4 years ago
  dabin 55264bcf4d [MOD]小米手机键盘弹出问题 4 years ago
  朱海文 56d3909b9d 自定义View Toolbar 4 years ago
  朱海文 80cb38a7b2 回答错误一次,销毁此页 4 years ago
  朱海文 dcd5f02b37 a 4 years ago
  朱海文 fd8f65ec93 获取视频地址接口错误,增加提示、点击回答按钮请求接口后停止视频播放 4 years ago
  dabin ebf056af72 [MOD]1.1正式发版 4 years ago
  朱海文 0bf794239c 银行卡号判定 4 years ago
  朱海文 79a8201df3 Merge branch 'develop' of https://git.haitiand.cn/zhuhaiwen/zeropay into develop 4 years ago
  朱海文 0e4f044971 根据需求增加提示 4 years ago
  dabin 61c9386189 [MOD]写游记的按钮多次点击Toast,快速消失的问题 4 years ago
  朱海文 c6b05fb9a1 loading、提交收款信息 4 years ago
  dabin 9de4d6e858 [MOD]首页样式 4 years ago
  朱海文 9023adeb9e 领奖列表背景最小高度 4 years ago
  朱海文 601190e13a 银行卡号必须为数字 4 years ago
  朱海文 b5ca0a6484 修改1 4 years ago
  朱海文 c6f30ce752 wxactivity修改delay时间 4 years ago
  朱海文 5691299a64 登录接口超时 4 years ago
  朱海文 37061f76f1 视频加载中,禁止答题弹窗 4 years ago
  朱海文 2382da7f7f Merge branch 'develop' of https://git.haitiand.cn/zhuhaiwen/zeropay into develop 4 years ago
  朱海文 c1df52bf24 修改问题2 4 years ago
zeropay - Gogs: Go Git Service

0元购Android端

build.gradle 5.9KB

    apply plugin: 'com.android.application' //apply plugin: 'com.mob.sdk' // //MobSDK { // appKey "304fe66c9be05" // appSecret "ae05a16e089eef959d32174f4a001637" // ShareSDK { // loopShare true // devInfo { // // 微信开放平台链接: https://open.weixin.qq.com/cgi-bin/appdetail?t=manage/detail&type=app&lang=zh_CN&token=7d66745466c2986b0e2c10e6dd40ac82672222f5&appid=wx9ce6dfd102de332c // Wechat { // appId "wx00bb0933b4fdb159" // appSecret "801cb11459e2d0fdb06df516cf91755b" // userName "gh_afb25ac019c9" // path "pages/index/index.html?id=1" // withShareTicket true // miniprogramType 2 // } // // . . . 还有其他平台配置 // } // } //} android { compileSdkVersion 29 buildToolsVersion "30.0.1" defaultConfig { applicationId "com.junxin.zeropay" minSdkVersion 19 targetSdkVersion 29 versionCode 4 versionName "1.3.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" multiDexEnabled true manifestPlaceholders = [UMENG_CHANNEL_VALUE: "umeng"]//添加一个默认渠道号 flavorDimensions "versionCode" } /* 此配置能使Test能够调用Android的Api */ testOptions { unitTests.returnDefaultValues = true } signingConfigs { appkey { storeFile rootProject.file('app/zeropay.jks') storePassword "junxin" keyAlias "zeropay" keyPassword "junxin" } } buildTypes { release { // 开启混淆 minifyEnabled true // Zipalign压缩优化 zipAlignEnabled true // 移除无用的资源文件 shrinkResources true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' signingConfig signingConfigs.appkey } debug { // 开启混淆 minifyEnabled false // Zipalign压缩优化 zipAlignEnabled false // 移除无用的资源文件 shrinkResources false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' signingConfig signingConfigs.appkey } } productFlavors { yingyongbao {} xiaomi {} huawei {} oppo {} junxin {} } productFlavors.all { flavor -> flavor.manifestPlaceholders = [UMENG_CHANNEL_VALUE: name] } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' testImplementation 'junit:junit:4.13' androidTestImplementation 'androidx.test.ext:junit:1.1.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' //material MD implementation 'com.google.android.material:material:1.1.0' //recyclerview implementation "androidx.recyclerview:recyclerview:1.1.0" // For control over item selection of both touch and mouse driven selection implementation "androidx.recyclerview:recyclerview-selection:1.1.0-rc01" //glide implementation 'com.github.bumptech.glide:glide:4.11.0' //gson implementation 'com.google.code.gson:gson:2.8.5' //eventbus implementation 'org.greenrobot:eventbus:3.1.1' //网络请求的依赖 implementation 'com.squareup.retrofit2:retrofit:2.6.0' implementation 'com.squareup.retrofit2:converter-gson:2.6.0' implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0' implementation 'com.squareup.okhttp3:logging-interceptor:3.14.2' //图片选择器 implementation 'com.github.LuckSiege.PictureSelector:picture_library:v2.5.8' //banner implementation "com.youth.banner:banner:2.1.0" //cardview implementation "androidx.cardview:cardview:1.0.0" //友盟基础组件库包含统计SDK implementation "com.umeng.umsdk:common:9.1.0" // asms包依赖(必选) implementation 'com.umeng.umsdk:asms:1.1.3' // native crash包依赖(必选) implementation "com.umeng.umsdk:crash:0.0.4" //如您不在U-App的集成中加入OAID库,可能会导致U-App面向Android Q系统的新增、启动、活跃、留存等指标减少,因此,建议您接入OAID库。 implementation 'com.umeng.umsdk:oaid_lenovo:1.0.0' // (可选) implementation 'com.umeng.umsdk:oaid_mi:1.0.0' // (可选) implementation 'com.umeng.umsdk:oaid_oppo:1.0.4' // (可选) implementation 'com.umeng.umsdk:oaid_vivo:1.0.0.1' // (可选) //butterknife implementation 'com.jakewharton:butterknife:10.2.1' annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.1' //今日头条适配 implementation 'me.jessyan:autosize:1.2.1' implementation 'com.github.lzyzsd:jsbridge:1.0.4' //权限申请 implementation 'com.github.tbruyelle:rxpermissions:0.12' implementation 'io.reactivex.rxjava3:rxjava:3.0.4' implementation 'io.reactivex.rxjava3:rxandroid:3.0.0' //状态栏 // implementation 'com.gyf.immersionbar:immersionbar:3.0.0' //打卡完成对勾控件 implementation 'com.github.ChengangFeng:TickView:v1.0.2' //S3 implementation 'com.amazonaws:aws-android-sdk-core:2.17.1' implementation 'com.amazonaws:aws-android-sdk-s3:2.3.8' //长图大图预览 implementation 'com.github.chrisbanes:PhotoView:2.3.0' //微信登录 api 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+' //下拉刷新 implementation 'com.scwang.smart:refresh-layout-kernel:2.0.1' implementation 'com.scwang.smart:refresh-header-classics:2.0.1' implementation 'com.shuyu:GSYVideoPlayer:7.1.6' }