添加混淆前
This commit is contained in:
@@ -28,9 +28,9 @@ android {
|
||||
applicationId "com.abbidot.tracker"
|
||||
minSdkVersion 23
|
||||
targetSdkVersion 35
|
||||
versionCode 2213
|
||||
// versionName "2.2.13"
|
||||
versionName "2.2.13-Beta1"
|
||||
versionCode 2214
|
||||
// versionName "2.2.14"
|
||||
versionName "2.2.14-Beta1"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
|
||||
@@ -85,19 +85,19 @@ class ChoosePlanAdapter(
|
||||
}
|
||||
|
||||
getTextView(R.id.tv_choose_plan_item_power).let {
|
||||
it.visibility = if (item.list.isNullOrEmpty()) View.GONE
|
||||
it.visibility = if (TextUtils.isEmpty(item.description)) View.GONE
|
||||
else {
|
||||
var str = getManyLanguageLimitDec(item.listTitleCode)
|
||||
if (TextUtils.isEmpty(str)) {
|
||||
for (i in 0 until item.list!!.size) {
|
||||
val packageDec = item.list!![i]
|
||||
str += "${i + 1}.${packageDec.title}"
|
||||
if (i != item.list!!.size - 1) {
|
||||
str += "\n"
|
||||
}
|
||||
}
|
||||
}
|
||||
it.text = str
|
||||
// var str = getManyLanguageLimitDec(item.listTitleCode)
|
||||
// if (TextUtils.isEmpty(str)) {
|
||||
// for (i in 0 until item.list!!.size) {
|
||||
// val packageDec = item.list!![i]
|
||||
// str += "${i + 1}.${packageDec.title}"
|
||||
// if (i != item.list!!.size - 1) {
|
||||
// str += "\n"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
it.text = item.description
|
||||
View.VISIBLE
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,5 +28,6 @@ data class PackageBean(
|
||||
var bottomBgColor: String,
|
||||
var listTitleCode: Int,
|
||||
var planNameCode: Int,
|
||||
var description: String,
|
||||
var list: MutableList<PackageBenefitsBean>?
|
||||
) : Parcelable
|
||||
|
||||
Reference in New Issue
Block a user