LifecycleOwner :代表具有生命周期的对象,比如Activity / Fragment. LifecycleObserver:观测LifecycleOwner ,并在其生命周期变化时,收到通知。
確定! 回上一頁