2.接著我們在Activity中建立ViewModel,並監聽ViewModel裡面currentSecond資料的變化。 public class LiveDataActivity extends AppCompatActivity { ...
確定! 回上一頁