what-the-bank/sources/o/qeC.java

23 lines
586 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.view.View;
import android.view.ViewGroup;
/* loaded from: classes.dex */
public final class qeC {
public static <T extends View> T e(View view, int i) {
if (!(view instanceof ViewGroup)) {
return null;
}
ViewGroup viewGroup = (ViewGroup) view;
int childCount = viewGroup.getChildCount();
for (int i2 = 0; i2 < childCount; i2++) {
T t = (T) viewGroup.getChildAt(i2).findViewById(i);
if (t != null) {
return t;
}
}
return null;
}
}