We will declare the livedata using the following in ViewModel, private MutableLiveData<String> name; Now, to set the data in the LiveData, we use.
確定! 回上一頁