因为MutableLiveData只是作用于变量所以我们直接就可以在ViewModel里实例化它,并且在泛型里标注变量的类型. public class MutableLiveData<T> extends ...
確定! 回上一頁