b$a.smali

.class public final Lcom/reactnativecommunity/picker/b$a;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroid/widget/AdapterView$OnItemSelectedListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/reactnativecommunity/picker/b;
.end annotation

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


# instance fields
.field public final synthetic a:Lcom/reactnativecommunity/picker/b;


# direct methods
.method public constructor <init>(Lcom/reactnativecommunity/picker/b;)V
    .registers 2

    iput-object p1, p0, Lcom/reactnativecommunity/picker/b$a;->a:Lcom/reactnativecommunity/picker/b;

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

    return-void
.end method


# virtual methods
.method public final onItemSelected(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView<",
            "*>;",
            "Landroid/view/View;",
            "IJ)V"
        }
    .end annotation

    .line 1
    iget-object p1, p0, Lcom/reactnativecommunity/picker/b$a;->a:Lcom/reactnativecommunity/picker/b;

    .line 2
    iget-object p1, p1, Lcom/reactnativecommunity/picker/b;->c:Lcom/reactnativecommunity/picker/b$c;

    if-eqz p1, :cond_18

    .line 3
    check-cast p1, Lcom/reactnativecommunity/picker/ReactPickerManager$a;

    .line 4
    iget-object p2, p1, Lcom/reactnativecommunity/picker/ReactPickerManager$a;->b:Lcom/facebook/react/uimanager/events/EventDispatcher;

    new-instance p4, Lcom/reactnativecommunity/picker/a;

    iget-object p1, p1, Lcom/reactnativecommunity/picker/ReactPickerManager$a;->a:Lcom/reactnativecommunity/picker/b;

    .line 5
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result p1

    invoke-direct {p4, p1, p3}, Lcom/reactnativecommunity/picker/a;-><init>(II)V

    .line 6
    invoke-virtual {p2, p4}, Lcom/facebook/react/uimanager/events/EventDispatcher;->dispatchEvent(Lcom/facebook/react/uimanager/events/Event;)V

    :cond_18
    return-void
.end method

.method public final onNothingSelected(Landroid/widget/AdapterView;)V
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView<",
            "*>;)V"
        }
    .end annotation

    .line 1
    iget-object p1, p0, Lcom/reactnativecommunity/picker/b$a;->a:Lcom/reactnativecommunity/picker/b;

    .line 2
    iget-object p1, p1, Lcom/reactnativecommunity/picker/b;->c:Lcom/reactnativecommunity/picker/b$c;

    if-eqz p1, :cond_19

    const/4 v0, -0x1

    .line 3
    check-cast p1, Lcom/reactnativecommunity/picker/ReactPickerManager$a;

    .line 4
    iget-object v1, p1, Lcom/reactnativecommunity/picker/ReactPickerManager$a;->b:Lcom/facebook/react/uimanager/events/EventDispatcher;

    new-instance v2, Lcom/reactnativecommunity/picker/a;

    iget-object p1, p1, Lcom/reactnativecommunity/picker/ReactPickerManager$a;->a:Lcom/reactnativecommunity/picker/b;

    .line 5
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result p1

    invoke-direct {v2, p1, v0}, Lcom/reactnativecommunity/picker/a;-><init>(II)V

    .line 6
    invoke-virtual {v1, v2}, Lcom/facebook/react/uimanager/events/EventDispatcher;->dispatchEvent(Lcom/facebook/react/uimanager/events/Event;)V

    :cond_19
    return-void
.end method