Kotlin BaseViewModel

嘿,今天的你过的还好吗
import androidx.lifecycle.ViewModel

/**
 *
 * @ClassName: BaseViewModel
 * @Description: BaseViewModel
 * @CreateDate: 2021/7/17 8:22
 * @UpdateUser: RyanLiu
 */
open class BaseViewModel : ViewModel() {
    protected final var TAG : String = "sansuiban";

    override fun onCleared() {
        super.onCleared()
    }
}

没更新或者频繁更新的时候都是在认真生活

你可能感兴趣的:(Kotlin BaseViewModel)