mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
18 lines
935 B
Java
18 lines
935 B
Java
|
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;
|
||
|
}
|
||
|
}
|