LiveData 与ViewModel一般都是配合着一起使用。 第一步:创建ViewModel类. package com.example.jetpackdemo03; import androidx.lifecycle.
確定! 回上一頁