.class Lcom/moji/mjweather/assshop/adapter/avatar/AvatarShopAdapter$2;
.super Ljava/lang/Object;
.source "AvatarShopAdapter.java"

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


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/assshop/adapter/avatar/AvatarShopAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
.end annotation

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


# instance fields
.field final synthetic a:Lcom/moji/mjweather/assshop/data/avatar/AvatarViewHolder;

.field final synthetic b:Lcom/moji/mjweather/assshop/adapter/avatar/AvatarShopAdapter;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/assshop/adapter/avatar/AvatarShopAdapter;Lcom/moji/mjweather/assshop/data/avatar/AvatarViewHolder;)V
    .locals 0

    .line 185
    iput-object p1, p0, Lcom/moji/mjweather/assshop/adapter/avatar/AvatarShopAdapter$2;->b:Lcom/moji/mjweather/assshop/adapter/avatar/AvatarShopAdapter;

    iput-object p2, p0, Lcom/moji/mjweather/assshop/adapter/avatar/AvatarShopAdapter$2;->a:Lcom/moji/mjweather/assshop/data/avatar/AvatarViewHolder;

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

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3

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

    move-result-object p1

    check-cast p1, Ljava/lang/Integer;

    invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I

    move-result p1

    .line 189
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object v0

    sget-object v1, Lcom/moji/statistics/EVENT_TAG;->VOICE_TRY_CLICK:Lcom/moji/statistics/EVENT_TAG;

    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 190
    invoke-static {}, Lcom/moji/mjweather/assshop/weather/WeatherAvatarUtil;->b()Lcom/moji/mjweather/assshop/weather/WeatherAvatarUtil;

    move-result-object v0

    const v1, 0x7f08083d

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/assshop/weather/WeatherAvatarUtil;->b(I)V

    .line 191
    invoke-static {}, Lcom/moji/mjweather/assshop/weather/WeatherAvatarUtil;->b()Lcom/moji/mjweather/assshop/weather/WeatherAvatarUtil;

    move-result-object v0

    const v1, 0x7f08083e

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/assshop/weather/WeatherAvatarUtil;->c(I)V

    .line 192
    invoke-static {}, Lcom/moji/mjweather/assshop/weather/WeatherAvatarUtil;->b()Lcom/moji/mjweather/assshop/weather/WeatherAvatarUtil;

    move-result-object v0

    iget-object v1, p0, Lcom/moji/mjweather/assshop/adapter/avatar/AvatarShopAdapter$2;->a:Lcom/moji/mjweather/assshop/data/avatar/AvatarViewHolder;

    iget-object v1, v1, Lcom/moji/mjweather/assshop/data/avatar/AvatarViewHolder;->h:Landroid/widget/ImageView;

    invoke-virtual {v0, p1, v1}, Lcom/moji/mjweather/assshop/weather/WeatherAvatarUtil;->a(ILandroid/widget/ImageView;)V

    return-void
.end method
