2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.directories;
|
|
|
|
|
|
|
|
import android.widget.TextView;
|
2021-10-15 06:18:26 +00:00
|
|
|
import c0.z.d.m;
|
2021-08-03 07:33:18 +00:00
|
|
|
import com.discord.databinding.DirectoryAddServerListItemBinding;
|
|
|
|
/* compiled from: WidgetDirectoryEntryViewHolder.kt */
|
|
|
|
public final class AddServerViewHolder extends DirectoryChannelViewHolder {
|
|
|
|
private final DirectoryAddServerListItemBinding viewBinding;
|
|
|
|
|
|
|
|
/* JADX WARNING: Illegal instructions before constructor call */
|
|
|
|
public AddServerViewHolder(DirectoryAddServerListItemBinding directoryAddServerListItemBinding) {
|
|
|
|
super(r0);
|
|
|
|
m.checkNotNullParameter(directoryAddServerListItemBinding, "viewBinding");
|
|
|
|
TextView textView = directoryAddServerListItemBinding.a;
|
|
|
|
m.checkNotNullExpressionValue(textView, "viewBinding.root");
|
|
|
|
this.viewBinding = directoryAddServerListItemBinding;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // com.discord.widgets.directories.DirectoryChannelViewHolder
|
|
|
|
public void bind(DirectoryChannelItem directoryChannelItem, DirectoryChannelItemClickInterface directoryChannelItemClickInterface) {
|
|
|
|
m.checkNotNullParameter(directoryChannelItem, "item");
|
|
|
|
m.checkNotNullParameter(directoryChannelItemClickInterface, "listener");
|
|
|
|
this.viewBinding.b.setOnClickListener(new AddServerViewHolder$bind$1(directoryChannelItemClickInterface));
|
|
|
|
}
|
|
|
|
|
|
|
|
public final DirectoryAddServerListItemBinding getViewBinding() {
|
|
|
|
return this.viewBinding;
|
|
|
|
}
|
|
|
|
}
|