Commit 7eddd887 authored by wanglei's avatar wanglei

...

parent 3f5144c8
......@@ -264,10 +264,10 @@ class SplashActivity : BaseActivity<ActivitySplash2Binding>(), SplashView {
"Unknown" -> R.mipmap.d_qing
else -> R.mipmap.d_qing
}
binding.ivWeather.setImageResource(icon)
binding.tvWendu.text = weather.tempMin + "℃" + " / " + weather.tempMax + "℃"
launch(Dispatchers.Main) {
binding.ivWeather.setImageResource(icon)
binding.tvWendu.text = weather.tempMin + "℃" + " / " + weather.tempMax + "℃"
AnimationUtils.startAlphaAnimation(binding.ivWeather, 400, null) {
AnimationUtils.startAlphaAnimation(binding.tvWendu, 400, null) {
}
......
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