discord-jadx/app/src/main/java/c/a/i/u4.java

58 lines
2.4 KiB
Java
Raw Normal View History

2021-08-18 07:29:27 +00:00
package c.a.i;
import android.view.View;
2021-11-22 08:31:21 +00:00
import android.widget.ImageView;
2021-11-29 08:39:39 +00:00
import android.widget.TextView;
import androidx.annotation.NonNull;
2021-11-29 08:39:39 +00:00
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.viewbinding.ViewBinding;
2021-11-22 08:31:21 +00:00
import com.discord.R;
2021-11-29 08:39:39 +00:00
import com.discord.widgets.botuikit.views.ActionRowComponentView;
2021-11-22 08:31:21 +00:00
import com.google.android.flexbox.FlexboxLayout;
2021-11-29 08:39:39 +00:00
/* compiled from: WidgetChatListBotUiActionRowComponentBinding */
2021-08-18 07:29:27 +00:00
public final class u4 implements ViewBinding {
@NonNull
2021-11-29 08:39:39 +00:00
public final ActionRowComponentView a;
2021-11-22 08:31:21 +00:00
@NonNull
2021-11-29 08:39:39 +00:00
public final FlexboxLayout b;
2021-11-22 08:31:21 +00:00
@NonNull
2021-08-31 07:21:49 +00:00
2021-11-22 08:31:21 +00:00
/* renamed from: c reason: collision with root package name */
2021-11-29 08:39:39 +00:00
public final h2 f171c;
2021-11-22 08:31:21 +00:00
2021-11-29 08:39:39 +00:00
public u4(@NonNull ActionRowComponentView actionRowComponentView, @NonNull FlexboxLayout flexboxLayout, @NonNull h2 h2Var) {
this.a = actionRowComponentView;
this.b = flexboxLayout;
this.f171c = h2Var;
2021-11-22 08:31:21 +00:00
}
@NonNull
public static u4 a(@NonNull View view) {
2021-11-29 08:39:39 +00:00
int i = R.id.action_row_component_view_group;
FlexboxLayout flexboxLayout = (FlexboxLayout) view.findViewById(R.id.action_row_component_view_group);
if (flexboxLayout != null) {
i = R.id.action_row_component_view_group_error_row;
View findViewById = view.findViewById(R.id.action_row_component_view_group_error_row);
if (findViewById != null) {
int i2 = R.id.view_interaction_failed_label_icon;
ImageView imageView = (ImageView) findViewById.findViewById(R.id.view_interaction_failed_label_icon);
if (imageView != null) {
i2 = R.id.view_interaction_failed_label_message;
TextView textView = (TextView) findViewById.findViewById(R.id.view_interaction_failed_label_message);
if (textView != null) {
return new u4((ActionRowComponentView) view, flexboxLayout, new h2((ConstraintLayout) findViewById, imageView, textView));
2021-11-22 08:31:21 +00:00
}
}
2021-11-29 08:39:39 +00:00
throw new NullPointerException("Missing required view with ID: ".concat(findViewById.getResources().getResourceName(i2)));
2021-11-22 08:31:21 +00:00
}
}
throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i)));
}
@Override // androidx.viewbinding.ViewBinding
@NonNull
public View getRoot() {
return this.a;
}
}