forked from Juby210/discord-jadx
51 lines
1.9 KiB
Java
51 lines
1.9 KiB
Java
package defpackage;
|
|
|
|
import android.view.View;
|
|
import com.lytefast.flexinput.fragment.FlexInputFragment;
|
|
import com.lytefast.flexinput.viewmodel.FlexInputViewModel;
|
|
/* compiled from: java-style lambda group */
|
|
/* renamed from: h reason: default package */
|
|
public final class h implements View.OnClickListener {
|
|
public final /* synthetic */ int i;
|
|
public final /* synthetic */ Object j;
|
|
|
|
public h(int i, Object obj) {
|
|
this.i = i;
|
|
this.j = obj;
|
|
}
|
|
|
|
@Override // android.view.View.OnClickListener
|
|
public final void onClick(View view) {
|
|
int i = this.i;
|
|
if (i == 0) {
|
|
FlexInputViewModel flexInputViewModel = ((FlexInputFragment) this.j).r;
|
|
if (flexInputViewModel != null) {
|
|
flexInputViewModel.onExpressionTrayButtonClicked();
|
|
}
|
|
} else if (i == 1) {
|
|
FlexInputFragment flexInputFragment = (FlexInputFragment) this.j;
|
|
FlexInputViewModel flexInputViewModel2 = flexInputFragment.r;
|
|
if (flexInputViewModel2 != null) {
|
|
flexInputViewModel2.onSendButtonClicked(flexInputFragment.n);
|
|
}
|
|
} else if (i == 2) {
|
|
FlexInputViewModel flexInputViewModel3 = ((FlexInputFragment) this.j).r;
|
|
if (flexInputViewModel3 != null) {
|
|
flexInputViewModel3.onGalleryButtonClicked();
|
|
}
|
|
} else if (i == 3) {
|
|
FlexInputViewModel flexInputViewModel4 = ((FlexInputFragment) this.j).r;
|
|
if (flexInputViewModel4 != null) {
|
|
flexInputViewModel4.onGiftButtonClicked();
|
|
}
|
|
} else if (i == 4) {
|
|
FlexInputViewModel flexInputViewModel5 = ((FlexInputFragment) this.j).r;
|
|
if (flexInputViewModel5 != null) {
|
|
flexInputViewModel5.onExpandButtonClicked();
|
|
}
|
|
} else {
|
|
throw null;
|
|
}
|
|
}
|
|
}
|