[fix]
[生命周期问题]
This commit is contained in:
yangyakun
2024-07-02 11:35:37 +08:00
parent 903d0ea4aa
commit d2803e7cb7

View File

@@ -332,13 +332,16 @@ abstract class BaseTaxiTabFragment<V : IView, P : Presenter<V>> : MvpFragment<V,
isStarting = false
if (autopilotLoadingAnimator != null) {
autopilotLoadingAnimator!!.end()
module_och_autopilot_iv.clearAnimation()
module_och_autopilot_iv?.clearAnimation()
autopilotLoadingAnimator = null
}
}
}
private fun startAutopilotDone(success: Boolean) {
if(module_och_autopilot_iv==null){
return
}
if (autopilotLoadingAnimator != null) {
autopilotLoadingAnimator!!.end()
module_och_autopilot_iv.clearAnimation()