discord-jadx/app/src/main/java/com/discord/widgets/debugging/WidgetDebugging$Adapter$Ite...

40 lines
1.5 KiB
Java

package com.discord.widgets.debugging;
import android.content.Context;
import android.view.View;
import android.widget.TextView;
import c.d.b.a.a;
import com.discord.widgets.debugging.WidgetDebugging;
import d0.z.d.m;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: WidgetDebugging.kt */
public final class WidgetDebugging$Adapter$Item$onConfigure$2 extends o implements Function1<View, Unit> {
public final /* synthetic */ WidgetDebugging.Adapter.Item this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetDebugging$Adapter$Item$onConfigure$2(WidgetDebugging.Adapter.Item item) {
super(1);
this.this$0 = item;
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public /* bridge */ /* synthetic */ Unit invoke(View view) {
invoke(view);
return Unit.a;
}
public final void invoke(View view) {
m.checkNotNullParameter(view, "it");
Context T = a.T(this.this$0.itemView, "itemView", "itemView.context");
TextView textView = WidgetDebugging.Adapter.Item.access$getBinding$p(this.this$0).b;
m.checkNotNullExpressionValue(textView, "binding.logMessage");
CharSequence text = textView.getText();
m.checkNotNullExpressionValue(text, "binding.logMessage.text");
c.a.d.o.c(T, text, 0, 4);
}
}