.class Lcom/moji/mjweather/assshop/weather/adapter/WeatherAvatarAdapter$1;
.super Ljava/lang/Object;
.source "WeatherAvatarAdapter.java"

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


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/assshop/weather/adapter/WeatherAvatarAdapter;->a(Lcom/moji/mjweather/assshop/weather/adapter/WeatherAvatarAdapter$AvatarHolder;I)V
.end annotation

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


# instance fields
.field final synthetic a:Lcom/moji/mjweather/assshop/weather/adapter/WeatherAvatarAdapter;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/assshop/weather/adapter/WeatherAvatarAdapter;)V
    .locals 0

    .line 136
    iput-object p1, p0, Lcom/moji/mjweather/assshop/weather/adapter/WeatherAvatarAdapter$1;->a:Lcom/moji/mjweather/assshop/weather/adapter/WeatherAvatarAdapter;

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

    return-void
.end method


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

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

    move-result-object p1

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->AVATAR_LIST_MORE_CLICK:Lcom/moji/statistics/EVENT_TAG;

    invoke-virtual {p1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;

    .line 140
    new-instance p1, Landroid/content/Intent;

    iget-object v0, p0, Lcom/moji/mjweather/assshop/weather/adapter/WeatherAvatarAdapter$1;->a:Lcom/moji/mjweather/assshop/weather/adapter/WeatherAvatarAdapter;

    iget-object v0, v0, Lcom/moji/mjweather/assshop/weather/adapter/WeatherAvatarAdapter;->a:Landroid/app/Activity;

    const-class v1, Lcom/moji/mjweather/assshop/activity/AssistShopActivity;

    invoke-direct {p1, v0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v0, "ITEM_INDEX"

    const/4 v1, 0x1

    .line 141
    invoke-virtual {p1, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 142
    iget-object v0, p0, Lcom/moji/mjweather/assshop/weather/adapter/WeatherAvatarAdapter$1;->a:Lcom/moji/mjweather/assshop/weather/adapter/WeatherAvatarAdapter;

    iget-object v0, v0, Lcom/moji/mjweather/assshop/weather/adapter/WeatherAvatarAdapter;->a:Landroid/app/Activity;

    invoke-virtual {v0, p1}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    .line 143
    iget-object p1, p0, Lcom/moji/mjweather/assshop/weather/adapter/WeatherAvatarAdapter$1;->a:Lcom/moji/mjweather/assshop/weather/adapter/WeatherAvatarAdapter;

    iget-object p1, p1, Lcom/moji/mjweather/assshop/weather/adapter/WeatherAvatarAdapter;->a:Landroid/app/Activity;

    invoke-virtual {p1}, Landroid/app/Activity;->finish()V

    return-void
.end method
