63 lines
3.2 KiB
Java
63 lines
3.2 KiB
Java
package com.discord.widgets.friends;
|
|
|
|
import android.content.Context;
|
|
import android.util.AttributeSet;
|
|
import android.view.LayoutInflater;
|
|
import android.widget.TextView;
|
|
import androidx.constraintlayout.widget.ConstraintLayout;
|
|
import c.a.l.b;
|
|
import com.discord.databinding.EmptyFriendsStateContactSyncViewBinding;
|
|
import d0.z.d.m;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
/* compiled from: EmptyFriendsStateContactSyncView.kt */
|
|
public final class EmptyFriendsStateContactSyncView extends ConstraintLayout {
|
|
private final EmptyFriendsStateContactSyncViewBinding binding;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public EmptyFriendsStateContactSyncView(Context context) {
|
|
super(context);
|
|
m.checkNotNullParameter(context, "context");
|
|
EmptyFriendsStateContactSyncViewBinding a = EmptyFriendsStateContactSyncViewBinding.a(LayoutInflater.from(getContext()), this);
|
|
m.checkNotNullExpressionValue(a, "EmptyFriendsStateContact…ater.from(context), this)");
|
|
this.binding = a;
|
|
}
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public EmptyFriendsStateContactSyncView(Context context, AttributeSet attributeSet) {
|
|
super(context, attributeSet);
|
|
m.checkNotNullParameter(context, "context");
|
|
EmptyFriendsStateContactSyncViewBinding a = EmptyFriendsStateContactSyncViewBinding.a(LayoutInflater.from(getContext()), this);
|
|
m.checkNotNullExpressionValue(a, "EmptyFriendsStateContact…ater.from(context), this)");
|
|
this.binding = a;
|
|
}
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public EmptyFriendsStateContactSyncView(Context context, AttributeSet attributeSet, int i) {
|
|
super(context, attributeSet, i);
|
|
m.checkNotNullParameter(context, "context");
|
|
EmptyFriendsStateContactSyncViewBinding a = EmptyFriendsStateContactSyncViewBinding.a(LayoutInflater.from(getContext()), this);
|
|
m.checkNotNullExpressionValue(a, "EmptyFriendsStateContact…ater.from(context), this)");
|
|
this.binding = a;
|
|
}
|
|
|
|
/* JADX INFO: this call moved to the top of the method (can break code semantics) */
|
|
public /* synthetic */ EmptyFriendsStateContactSyncView(Context context, AttributeSet attributeSet, int i, int i2, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(context, (i2 & 2) != 0 ? null : attributeSet, (i2 & 4) != 0 ? 0 : i);
|
|
}
|
|
|
|
/* JADX INFO: this call moved to the top of the method (can break code semantics) */
|
|
public /* synthetic */ EmptyFriendsStateContactSyncView(Context context, AttributeSet attributeSet, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(context, (i & 2) != 0 ? null : attributeSet);
|
|
}
|
|
|
|
public final void updateView(boolean z2) {
|
|
if (z2) {
|
|
this.binding.d.setTextSize(2, 18.0f);
|
|
TextView textView = this.binding.b;
|
|
m.checkNotNullExpressionValue(textView, "binding.csSubtitle");
|
|
b.m(textView, 2131887560, new Object[0], null, 4);
|
|
}
|
|
this.binding.f1606c.setOnClickListener(EmptyFriendsStateContactSyncView$updateView$1.INSTANCE);
|
|
}
|
|
}
|