discord-jadx/app/src/main/java/defpackage/h.java

52 lines
1.9 KiB
Java
Raw Normal View History

2021-06-27 20:44:35 +00:00
package defpackage;
import android.view.View;
2021-11-08 18:25:28 +00:00
import com.lytefast.flexinput.fragment.FlexInputFragment;
import com.lytefast.flexinput.viewmodel.FlexInputViewModel;
2021-06-27 20:44:35 +00:00
/* compiled from: java-style lambda group */
/* renamed from: h reason: default package */
2022-03-22 15:40:06 +00:00
/* loaded from: classes3.dex */
2021-06-27 20:44:35 +00:00
public final class h implements View.OnClickListener {
2021-12-17 22:03:14 +00:00
public final /* synthetic */ int j;
public final /* synthetic */ Object k;
2021-06-27 20:44:35 +00:00
public h(int i, Object obj) {
2021-12-17 22:03:14 +00:00
this.j = i;
this.k = obj;
2021-06-27 20:44:35 +00:00
}
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
2021-12-17 22:03:14 +00:00
int i = this.j;
2021-11-08 18:25:28 +00:00
if (i == 0) {
2022-03-22 15:40:06 +00:00
FlexInputViewModel flexInputViewModel = ((FlexInputFragment) this.k).f3143s;
2021-11-08 18:25:28 +00:00
if (flexInputViewModel != null) {
flexInputViewModel.onExpressionTrayButtonClicked();
}
} else if (i == 1) {
2021-12-17 22:03:14 +00:00
FlexInputFragment flexInputFragment = (FlexInputFragment) this.k;
2022-03-22 15:40:06 +00:00
FlexInputViewModel flexInputViewModel2 = flexInputFragment.f3143s;
2021-11-08 18:25:28 +00:00
if (flexInputViewModel2 != null) {
2021-12-17 22:03:14 +00:00
flexInputViewModel2.onSendButtonClicked(flexInputFragment.o);
2021-11-08 18:25:28 +00:00
}
} else if (i == 2) {
2022-03-22 15:40:06 +00:00
FlexInputViewModel flexInputViewModel3 = ((FlexInputFragment) this.k).f3143s;
2021-11-08 18:25:28 +00:00
if (flexInputViewModel3 != null) {
flexInputViewModel3.onGalleryButtonClicked();
}
} else if (i == 3) {
2022-03-22 15:40:06 +00:00
FlexInputViewModel flexInputViewModel4 = ((FlexInputFragment) this.k).f3143s;
2021-11-08 18:25:28 +00:00
if (flexInputViewModel4 != null) {
flexInputViewModel4.onGiftButtonClicked();
}
} else if (i == 4) {
2022-03-22 15:40:06 +00:00
FlexInputViewModel flexInputViewModel5 = ((FlexInputFragment) this.k).f3143s;
2021-11-08 18:25:28 +00:00
if (flexInputViewModel5 != null) {
flexInputViewModel5.onExpandButtonClicked();
2021-06-27 20:44:35 +00:00
}
} else {
2021-11-08 18:25:28 +00:00
throw null;
2021-06-27 20:44:35 +00:00
}
}
}