45 lines
2 KiB
Java
45 lines
2 KiB
Java
package com.discord.utilities.viewbinding;
|
|
|
|
import androidx.lifecycle.DefaultLifecycleObserver;
|
|
import androidx.lifecycle.LifecycleOwner;
|
|
import d0.z.d.m;
|
|
import y.b.a;
|
|
/* compiled from: FragmentViewBindingDelegate.kt */
|
|
public final class FragmentViewBindingDelegate$addOnDestroyObserver$1 implements DefaultLifecycleObserver {
|
|
public final /* synthetic */ FragmentViewBindingDelegate this$0;
|
|
|
|
public FragmentViewBindingDelegate$addOnDestroyObserver$1(FragmentViewBindingDelegate fragmentViewBindingDelegate) {
|
|
this.this$0 = fragmentViewBindingDelegate;
|
|
}
|
|
|
|
@Override // androidx.lifecycle.DefaultLifecycleObserver, androidx.lifecycle.FullLifecycleObserver
|
|
public void onCreate(LifecycleOwner lifecycleOwner) {
|
|
m.checkNotNullParameter(lifecycleOwner, "owner");
|
|
this.this$0.getFragment().getViewLifecycleOwnerLiveData().observe(this.this$0.getFragment(), new FragmentViewBindingDelegate$addOnDestroyObserver$1$onCreate$1(this));
|
|
}
|
|
|
|
@Override // androidx.lifecycle.DefaultLifecycleObserver, androidx.lifecycle.FullLifecycleObserver
|
|
public /* synthetic */ void onDestroy(LifecycleOwner lifecycleOwner) {
|
|
a.b(this, lifecycleOwner);
|
|
}
|
|
|
|
@Override // androidx.lifecycle.DefaultLifecycleObserver, androidx.lifecycle.FullLifecycleObserver
|
|
public /* synthetic */ void onPause(LifecycleOwner lifecycleOwner) {
|
|
a.c(this, lifecycleOwner);
|
|
}
|
|
|
|
@Override // androidx.lifecycle.DefaultLifecycleObserver, androidx.lifecycle.FullLifecycleObserver
|
|
public /* synthetic */ void onResume(LifecycleOwner lifecycleOwner) {
|
|
a.d(this, lifecycleOwner);
|
|
}
|
|
|
|
@Override // androidx.lifecycle.DefaultLifecycleObserver, androidx.lifecycle.FullLifecycleObserver
|
|
public /* synthetic */ void onStart(LifecycleOwner lifecycleOwner) {
|
|
a.e(this, lifecycleOwner);
|
|
}
|
|
|
|
@Override // androidx.lifecycle.DefaultLifecycleObserver, androidx.lifecycle.FullLifecycleObserver
|
|
public /* synthetic */ void onStop(LifecycleOwner lifecycleOwner) {
|
|
a.f(this, lifecycleOwner);
|
|
}
|
|
}
|