Commit 6e590c3e authored by jyx's avatar jyx

CPD优先展示逻辑优化,部分大图压缩

parent d3788873
......@@ -168,21 +168,41 @@ class TaskCpdFragment : BaseFragment(), TaskView,
}
// 珊瑚和CPD展示顺序
if (CPD_ORDER == "CPD_SYD") {
if (cpdMax > 0) {
when (CPD_ORDER) {
"CPD_SYD" -> {
when {
cpdMax > 0 -> {
// 拉取数组数据
// loadCPDDataList()
// 循环拉取数据
loadCPDDataCycle()
}
} else if (CPD_ORDER == "CPD_SH") {
if (shMax > 0) {
shMax > 0 -> {
loadShDataList()
}
} else {
else -> {
notifyDataAndShowAd()
}
}
}
"CPD_SH" -> {
when {
shMax > 0 -> {
loadShDataList()
}
cpdMax > 0 -> {
loadCPDDataCycle()
}
else -> {
notifyDataAndShowAd()
}
}
}
else -> {
notifyDataAndShowAd()
}
}
}
private fun loadShDataList() {
// 珊瑚CPD广告拉取
......
app/src/main/res/mipmap-xhdpi/bg_morning_clock.png

497 KB | W: | H:

app/src/main/res/mipmap-xhdpi/bg_morning_clock.png

143 KB | W: | H:

app/src/main/res/mipmap-xhdpi/bg_morning_clock.png
app/src/main/res/mipmap-xhdpi/bg_morning_clock.png
app/src/main/res/mipmap-xhdpi/bg_morning_clock.png
app/src/main/res/mipmap-xhdpi/bg_morning_clock.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -4,5 +4,5 @@
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
#Wed Mar 10 10:02:25 CST 2021
sdk.dir=/Users/mcg/Library/Android/sdk
#Wed Mar 10 19:20:57 CST 2021
sdk.dir=/Users/Hello/Library/Android/sdk
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment