2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.guilds.invite;
|
|
|
|
|
|
|
|
import android.view.View;
|
|
|
|
import android.widget.AdapterView;
|
2021-11-02 06:38:17 +00:00
|
|
|
import d0.z.d.m;
|
2021-08-03 07:33:18 +00:00
|
|
|
/* compiled from: ViewInviteSettingsSheet.kt */
|
|
|
|
public final class ViewInviteSettingsSheet$setOnItemSelected$1 implements AdapterView.OnItemSelectedListener {
|
|
|
|
public final /* synthetic */ ViewInviteSettingsSheet this$0;
|
|
|
|
|
|
|
|
public ViewInviteSettingsSheet$setOnItemSelected$1(ViewInviteSettingsSheet viewInviteSettingsSheet) {
|
|
|
|
this.this$0 = viewInviteSettingsSheet;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // android.widget.AdapterView.OnItemSelectedListener
|
|
|
|
public void onItemSelected(AdapterView<?> adapterView, View view, int i, long j) {
|
|
|
|
m.checkNotNullParameter(adapterView, "parent");
|
|
|
|
m.checkNotNullParameter(view, "view");
|
|
|
|
this.this$0.getViewModel().selectChannel(ViewInviteSettingsSheet.access$getChannelsSpinnerAdapter$p(this.this$0).getItem(i).h());
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // android.widget.AdapterView.OnItemSelectedListener
|
|
|
|
public void onNothingSelected(AdapterView<?> adapterView) {
|
|
|
|
m.checkNotNullParameter(adapterView, "parent");
|
|
|
|
}
|
|
|
|
}
|