chenguanxi

Results 1 issues of chenguanxi

class LoadingViewDelegate:LoadingStateView.ViewDelegate(ViewType.LOADING) { override fun onCreateView(inflater: LayoutInflater, parent: ViewGroup): View = inflater.inflate(R.layout.common_loading_view, parent, false).also { val ivLoading: ImageView = it.findViewById(R.id.loading_iv) (ivLoading.drawable as AnimationDrawable).start() } } 这样加载loadingView 后 切换到contentView 那么loadingView的动画怎么停止