BotKeyboardView$1.smali

.class Lim/tpelyyftgw/ui/components/BotKeyboardView$1;
.super Ljava/lang/Object;
.source "BotKeyboardView.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lim/tpelyyftgw/ui/components/BotKeyboardView;->setButtons(Lim/tpelyyftgw/tgnet/TLRPC$TL_replyKeyboardMarkup;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lim/tpelyyftgw/ui/components/BotKeyboardView;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method constructor <init>(Lim/tpelyyftgw/ui/components/BotKeyboardView;)V
    .registers 2
    .param p1, "this$0"    # Lim/tpelyyftgw/ui/components/BotKeyboardView;

    .line 109
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/BotKeyboardView$1;->this$0:Lim/tpelyyftgw/ui/components/BotKeyboardView;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 4
    .param p1, "v"    # Landroid/view/View;

    .line 112
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/BotKeyboardView$1;->this$0:Lim/tpelyyftgw/ui/components/BotKeyboardView;

    # getter for: Lim/tpelyyftgw/ui/components/BotKeyboardView;->delegate:Lim/tpelyyftgw/ui/components/BotKeyboardView$BotKeyboardViewDelegate;
    invoke-static {v0}, Lim/tpelyyftgw/ui/components/BotKeyboardView;->access$000(Lim/tpelyyftgw/ui/components/BotKeyboardView;)Lim/tpelyyftgw/ui/components/BotKeyboardView$BotKeyboardViewDelegate;

    move-result-object v0

    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lim/tpelyyftgw/tgnet/TLRPC$KeyboardButton;

    invoke-interface {v0, v1}, Lim/tpelyyftgw/ui/components/BotKeyboardView$BotKeyboardViewDelegate;->didPressedButton(Lim/tpelyyftgw/tgnet/TLRPC$KeyboardButton;)V

    .line 113
    return-void
.end method