package o; import android.text.Editable; import android.text.TextWatcher; import android.widget.TextView; /* loaded from: classes3.dex */ public final class CnE extends AbstractC0998Thl { private final TextView c; public CnE(TextView textView) { C14957gcv.b((Object) textView, ""); this.c = textView; } @Override // o.AbstractC0998Thl public final void a(InterfaceC13174fSv interfaceC13174fSv) { C14957gcv.b((Object) interfaceC13174fSv, ""); RVV rvv = new RVV(this.c, interfaceC13174fSv); interfaceC13174fSv.onSubscribe(rvv); this.c.addTextChangedListener(rvv); } /* loaded from: classes3.dex */ static final class RVV extends fRS implements TextWatcher { private final TextView b; private final InterfaceC13174fSv c; public RVV(TextView textView, InterfaceC13174fSv interfaceC13174fSv) { C14957gcv.b((Object) textView, ""); C14957gcv.b((Object) interfaceC13174fSv, ""); this.b = textView; this.c = interfaceC13174fSv; } @Override // android.text.TextWatcher public final void afterTextChanged(Editable editable) { C14957gcv.b((Object) editable, ""); this.c.onNext(new C15772iWn(this.b, editable)); } @Override // o.fRS public final void b() { this.b.removeTextChangedListener(this); } @Override // android.text.TextWatcher public final void onTextChanged(CharSequence charSequence, int i, int i2, int i3) { C14957gcv.b((Object) charSequence, ""); } @Override // android.text.TextWatcher public final void beforeTextChanged(CharSequence charSequence, int i, int i2, int i3) { C14957gcv.b((Object) charSequence, ""); } } @Override // o.AbstractC0998Thl public final /* synthetic */ C15772iWn e() { TextView textView = this.c; return new C15772iWn(textView, textView.getEditableText()); } }