Rabbit-R1/android (non root)/java/sources/androidx/fragment/app/ViewKt.java

18 lines
935 B
Java
Raw Permalink Normal View History

2024-05-21 21:08:36 +00:00
package androidx.fragment.app;
import android.view.View;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: View.kt */
@Metadata(d1 = {"\u0000\u0010\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u001a\u0019\u0010\u0000\u001a\u0002H\u0001\"\b\b\u0000\u0010\u0001*\u00020\u0002*\u00020\u0003¢\u0006\u0002\u0010\u0004¨\u0006\u0005"}, d2 = {"findFragment", "F", "Landroidx/fragment/app/Fragment;", "Landroid/view/View;", "(Landroid/view/View;)Landroidx/fragment/app/Fragment;", "fragment-ktx_release"}, k = 2, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes2.dex */
public final class ViewKt {
public static final <F extends Fragment> F findFragment(View view) {
Intrinsics.checkNotNullParameter(view, "<this>");
F f = (F) FragmentManager.findFragment(view);
Intrinsics.checkNotNullExpressionValue(f, "findFragment(this)");
return f;
}
}