SinglePicker$1.smali

.class Lcn/qqtheme/framework/picker/SinglePicker$1;
.super Ljava/lang/Object;
.source "SinglePicker.java"

# interfaces
.implements Lcn/qqtheme/framework/widget/WheelView$OnItemSelectListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcn/qqtheme/framework/picker/SinglePicker;->makeCenterView()Landroid/view/View;
.end annotation

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


# instance fields
.field final synthetic this$0:Lcn/qqtheme/framework/picker/SinglePicker;


# direct methods
.method constructor <init>(Lcn/qqtheme/framework/picker/SinglePicker;)V
    .registers 2

    .line 1
    iput-object p1, p0, Lcn/qqtheme/framework/picker/SinglePicker$1;->this$0:Lcn/qqtheme/framework/picker/SinglePicker;

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

    return-void
.end method


# virtual methods
.method public onSelected(I)V
    .registers 5

    .line 1
    iget-object v0, p0, Lcn/qqtheme/framework/picker/SinglePicker$1;->this$0:Lcn/qqtheme/framework/picker/SinglePicker;

    # setter for: Lcn/qqtheme/framework/picker/SinglePicker;->selectedItemIndex:I
    invoke-static {v0, p1}, Lcn/qqtheme/framework/picker/SinglePicker;->access$002(Lcn/qqtheme/framework/picker/SinglePicker;I)I

    .line 2
    iget-object v0, p0, Lcn/qqtheme/framework/picker/SinglePicker$1;->this$0:Lcn/qqtheme/framework/picker/SinglePicker;

    # getter for: Lcn/qqtheme/framework/picker/SinglePicker;->onWheelListener:Lcn/qqtheme/framework/picker/SinglePicker$OnWheelListener;
    invoke-static {v0}, Lcn/qqtheme/framework/picker/SinglePicker;->access$100(Lcn/qqtheme/framework/picker/SinglePicker;)Lcn/qqtheme/framework/picker/SinglePicker$OnWheelListener;

    move-result-object v0

    if-eqz v0, :cond_26

    .line 3
    iget-object v0, p0, Lcn/qqtheme/framework/picker/SinglePicker$1;->this$0:Lcn/qqtheme/framework/picker/SinglePicker;

    # getter for: Lcn/qqtheme/framework/picker/SinglePicker;->onWheelListener:Lcn/qqtheme/framework/picker/SinglePicker$OnWheelListener;
    invoke-static {v0}, Lcn/qqtheme/framework/picker/SinglePicker;->access$100(Lcn/qqtheme/framework/picker/SinglePicker;)Lcn/qqtheme/framework/picker/SinglePicker$OnWheelListener;

    move-result-object v0

    iget-object v1, p0, Lcn/qqtheme/framework/picker/SinglePicker$1;->this$0:Lcn/qqtheme/framework/picker/SinglePicker;

    # getter for: Lcn/qqtheme/framework/picker/SinglePicker;->selectedItemIndex:I
    invoke-static {v1}, Lcn/qqtheme/framework/picker/SinglePicker;->access$000(Lcn/qqtheme/framework/picker/SinglePicker;)I

    move-result v1

    iget-object v2, p0, Lcn/qqtheme/framework/picker/SinglePicker$1;->this$0:Lcn/qqtheme/framework/picker/SinglePicker;

    # getter for: Lcn/qqtheme/framework/picker/SinglePicker;->items:Ljava/util/List;
    invoke-static {v2}, Lcn/qqtheme/framework/picker/SinglePicker;->access$200(Lcn/qqtheme/framework/picker/SinglePicker;)Ljava/util/List;

    move-result-object v2

    invoke-interface {v2, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    invoke-interface {v0, v1, p1}, Lcn/qqtheme/framework/picker/SinglePicker$OnWheelListener;->onWheeled(ILjava/lang/Object;)V

    :cond_26
    return-void
.end method