小红书.apk(点击下载) / VideoSettingConfig$initItems$4.java
package com.xingin.xhs.develop.config;
import al2.e;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;
import bj2.c;
import com.xingin.devkit.ActionChangedListener;
import java.util.Iterator;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Ref;
import kotlin.sequences.Sequence;
import kotlin.text.StringsKt__StringsKt;
import x22.a;
@Metadata(d1 = {"\u0000\u0017\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000*\u0001\u0000\b\n\u0018\u00002\u00020\u0001J\u0010\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0005H\u0016¨\u0006\u0006"}, d2 = {"com/xingin/xhs/develop/config/VideoSettingConfig$initItems$4", "Lcom/xingin/devkit/ActionChangedListener;", "onActionChanged", "", "createdView", "Landroid/view/View;", "app_PublishGooglePlayRelease"}, k = 1, mv = {1, 6, 0}, xi = 48)
/* compiled from: VideoSettingConfig.kt */
public final class VideoSettingConfig$initItems$4 implements ActionChangedListener {
/* access modifiers changed from: private */
/* renamed from: onActionChanged$lambda-1 reason: not valid java name */
public static final void m1094onActionChanged$lambda1(Ref.ObjectRef objectRef, View view) {
Intrinsics.checkNotNullParameter(objectRef, "$editView");
T t14 = objectRef.element;
String obj = StringsKt__StringsKt.trim((CharSequence) String.valueOf(t14 != null ? t14.getText() : null)).toString();
a.f152257a.k(obj);
e.g("修改播放器代理成功: " + obj);
}
@Override // com.xingin.devkit.ActionChangedListener
public void onActionChanged(View view) {
Intrinsics.checkNotNullParameter(view, "createdView");
Sequence<View> b14 = c.b(view);
Ref.ObjectRef objectRef = new Ref.ObjectRef();
Iterator<View> it3 = b14.iterator();
TextView textView = null;
while (it3.hasNext()) {
T t14 = (T) it3.next();
if (t14 instanceof EditText) {
objectRef.element = t14;
} else if (t14 instanceof TextView) {
textView = t14;
}
}
T t15 = objectRef.element;
if (t15 != null) {
t15.setHint("示例:http://10.31.175.69:8888");
}
TextView textView2 = textView;
if (textView2 != null) {
textView2.setOnClickListener(new w2(objectRef));
}
}
}