.class public final Lcom/discord/widgets/chat/list/WidgetChatListAdapterItemBlocked; .super Lcom/discord/widgets/chat/list/WidgetChatListItem; .source "WidgetChatListAdapterItemBlocked.kt" # static fields .field static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty; # instance fields .field private final blocked$delegate:Lkotlin/properties/ReadOnlyProperty; # direct methods .method static constructor ()V .locals 5 const/4 v0, 0x1 new-array v0, v0, [Lkotlin/reflect/KProperty; new-instance v1, Lkotlin/jvm/internal/u; const-class v2, Lcom/discord/widgets/chat/list/WidgetChatListAdapterItemBlocked; invoke-static {v2}, Lkotlin/jvm/internal/v;->Q(Ljava/lang/Class;)Lkotlin/reflect/b; move-result-object v2 const-string v3, "blocked" const-string v4, "getBlocked()Landroid/widget/TextView;" invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/u;->(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V invoke-static {v1}, Lkotlin/jvm/internal/v;->a(Lkotlin/jvm/internal/t;)Lkotlin/reflect/d; move-result-object v1 check-cast v1, Lkotlin/reflect/KProperty; const/4 v2, 0x0 aput-object v1, v0, v2 sput-object v0, Lcom/discord/widgets/chat/list/WidgetChatListAdapterItemBlocked;->$$delegatedProperties:[Lkotlin/reflect/KProperty; return-void .end method .method public constructor (Lcom/discord/widgets/chat/list/WidgetChatListAdapter;)V .locals 1 const-string v0, "adapter" invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V const v0, 0x7f0d00d6 invoke-direct {p0, v0, p1}, Lcom/discord/widgets/chat/list/WidgetChatListItem;->(ILcom/discord/widgets/chat/list/WidgetChatListAdapter;)V const v0, 0x7f0a0179 invoke-static {p0, v0}, Lkotterknife/b;->a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)Lkotlin/properties/ReadOnlyProperty; move-result-object v0 iput-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListAdapterItemBlocked;->blocked$delegate:Lkotlin/properties/ReadOnlyProperty; new-instance v0, Lcom/discord/widgets/chat/list/WidgetChatListAdapterItemBlocked$1; invoke-direct {v0, p1}, Lcom/discord/widgets/chat/list/WidgetChatListAdapterItemBlocked$1;->(Lcom/discord/widgets/chat/list/WidgetChatListAdapter;)V check-cast v0, Lrx/functions/Action3; const/4 p1, 0x0 new-array p1, p1, [Landroid/view/View; invoke-virtual {p0, v0, p1}, Lcom/discord/widgets/chat/list/WidgetChatListAdapterItemBlocked;->setOnClickListener(Lrx/functions/Action3;[Landroid/view/View;)V return-void .end method .method private final getBlocked()Landroid/widget/TextView; .locals 3 iget-object v0, p0, Lcom/discord/widgets/chat/list/WidgetChatListAdapterItemBlocked;->blocked$delegate:Lkotlin/properties/ReadOnlyProperty; sget-object v1, Lcom/discord/widgets/chat/list/WidgetChatListAdapterItemBlocked;->$$delegatedProperties:[Lkotlin/reflect/KProperty; const/4 v2, 0x0 aget-object v1, v1, v2 invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object; move-result-object v0 check-cast v0, Landroid/widget/TextView; return-object v0 .end method .method private final getBlockedText(Landroid/content/res/Resources;I)Ljava/lang/String; .locals 5 const v0, 0x7f100016 invoke-virtual {p1, v0, p2}, Landroid/content/res/Resources;->getQuantityString(II)Ljava/lang/String; move-result-object v0 const/4 v1, 0x1 new-array v2, v1, [Ljava/lang/Object; const-string v3, "quantityResString" invoke-static {v0, v3}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V new-array v3, v1, [Ljava/lang/Object; invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object p2 const/4 v4, 0x0 aput-object p2, v3, v4 invoke-static {v3, v1}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object; move-result-object p2 invoke-static {v0, p2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; move-result-object p2 const-string v0, "java.lang.String.format(this, *args)" invoke-static {p2, v0}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V aput-object p2, v2, v4 const p2, 0x7f120320 invoke-virtual {p1, p2, v2}, Landroid/content/res/Resources;->getString(I[Ljava/lang/Object;)Ljava/lang/String; move-result-object p1 const-string p2, "getString(R.string.block\u2026ing.format(blockedCount))" invoke-static {p1, p2}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V return-object p1 .end method # virtual methods .method protected final onConfigure(ILcom/discord/widgets/chat/list/entries/ChatListEntry;)V .locals 2 const-string v0, "data" invoke-static {p2, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V invoke-super {p0, p1, p2}, Lcom/discord/widgets/chat/list/WidgetChatListItem;->onConfigure(ILcom/discord/widgets/chat/list/entries/ChatListEntry;)V check-cast p2, Lcom/discord/widgets/chat/list/entries/BlockedMessagesEntry; invoke-virtual {p2}, Lcom/discord/widgets/chat/list/entries/BlockedMessagesEntry;->component2()I move-result p1 invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListAdapterItemBlocked;->getBlocked()Landroid/widget/TextView; move-result-object p2 invoke-direct {p0}, Lcom/discord/widgets/chat/list/WidgetChatListAdapterItemBlocked;->getBlocked()Landroid/widget/TextView; move-result-object v0 invoke-virtual {v0}, Landroid/widget/TextView;->getResources()Landroid/content/res/Resources; move-result-object v0 const-string v1, "blocked.resources" invoke-static {v0, v1}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V invoke-direct {p0, v0, p1}, Lcom/discord/widgets/chat/list/WidgetChatListAdapterItemBlocked;->getBlockedText(Landroid/content/res/Resources;I)Ljava/lang/String; move-result-object p1 check-cast p1, Ljava/lang/CharSequence; invoke-virtual {p2, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V return-void .end method .method public final bridge synthetic onConfigure(ILjava/lang/Object;)V .locals 0 check-cast p2, Lcom/discord/widgets/chat/list/entries/ChatListEntry; invoke-virtual {p0, p1, p2}, Lcom/discord/widgets/chat/list/WidgetChatListAdapterItemBlocked;->onConfigure(ILcom/discord/widgets/chat/list/entries/ChatListEntry;)V return-void .end method