fix 防丢失loading

This commit is contained in:
cyh 2025-03-19 18:29:23 +08:00
parent 7ed4c780e0
commit 49e1440df5
3 changed files with 4 additions and 4 deletions

View File

@ -19,9 +19,7 @@ import androidx.swiperefreshlayout.widget.SwipeRefreshLayout
import com.afollestad.materialdialogs.MaterialDialog
import com.afollestad.materialdialogs.customview.customView
import com.afollestad.materialdialogs.customview.getCustomView
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.listener.OnItemChildClickListener
import com.chad.library.adapter.base.listener.OnItemClickListener
import com.tencent.mmkv.MMKV
import com.yingmao.clash.BuildConfig
import com.yingmao.clash.R

View File

@ -62,7 +62,9 @@ class LossPreventionActivity : BaseActivity() {
} else {
"https://yingmao.oss-cn-hongkong.aliyuncs.com/fds/fds_bzy.png"
}
Glide.with(this).load(fdsUrl).fitCenter()
Glide.with(this).load(fdsUrl)
.placeholder(R.drawable.spinner200px200px)
.fitCenter()
.into(iv_lossper!!)
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB