package ff;

import android.view.View;
import androidx.recyclerview.widget.q1;
import ie.h0;

/* JADX INFO: loaded from: classes3.dex */
public final /* synthetic */ class e implements Runnable {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ int f26107a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ f f26108b;

    public /* synthetic */ e(f fVar, int i10) {
        this.f26107a = i10;
        this.f26108b = fVar;
    }

    @Override // java.lang.Runnable
    public final void run() {
        View viewFindViewByPosition;
        View viewFindViewByPosition2;
        int i10 = this.f26107a;
        f fVar = this.f26108b;
        switch (i10) {
            case 0:
                int i11 = f.I0;
                q1 layoutManager = ((h0) fVar.binding).f26942g.getLayoutManager();
                if (layoutManager != null && (viewFindViewByPosition = layoutManager.findViewByPosition(fVar.E0)) != null) {
                    viewFindViewByPosition.requestFocus();
                    break;
                }
                break;
            default:
                int i12 = f.I0;
                q1 layoutManager2 = ((h0) fVar.binding).f26942g.getLayoutManager();
                if (layoutManager2 != null && (viewFindViewByPosition2 = layoutManager2.findViewByPosition(fVar.E0)) != null) {
                    viewFindViewByPosition2.requestFocus();
                    break;
                }
                break;
        }
    }
}
