.class Lcom/moji/mjweather/shorttimedetail/ShortTimeCastActivity$1;
.super Lcom/moji/titlebar/MJTitleBar$ActionIcon;
.source "ShortTimeCastActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/shorttimedetail/ShortTimeCastActivity;->c()V
.end annotation

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


# instance fields
.field final synthetic a:Lcom/moji/mjweather/shorttimedetail/ShortTimeCastActivity;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/shorttimedetail/ShortTimeCastActivity;I)V
    .locals 0

    .line 219
    iput-object p1, p0, Lcom/moji/mjweather/shorttimedetail/ShortTimeCastActivity$1;->a:Lcom/moji/mjweather/shorttimedetail/ShortTimeCastActivity;

    invoke-direct {p0, p2}, Lcom/moji/titlebar/MJTitleBar$ActionIcon;-><init>(I)V

    return-void
.end method


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

    .line 222
    iget-object p1, p0, Lcom/moji/mjweather/shorttimedetail/ShortTimeCastActivity$1;->a:Lcom/moji/mjweather/shorttimedetail/ShortTimeCastActivity;

    invoke-static {p1}, Lcom/moji/mjweather/shorttimedetail/ShortTimeCastActivity;->a(Lcom/moji/mjweather/shorttimedetail/ShortTimeCastActivity;)Lcom/moji/share/MJThirdShareManager;

    move-result-object p1

    if-nez p1, :cond_0

    .line 223
    iget-object p1, p0, Lcom/moji/mjweather/shorttimedetail/ShortTimeCastActivity$1;->a:Lcom/moji/mjweather/shorttimedetail/ShortTimeCastActivity;

    new-instance v0, Lcom/moji/share/MJThirdShareManager;

    iget-object v1, p0, Lcom/moji/mjweather/shorttimedetail/ShortTimeCastActivity$1;->a:Lcom/moji/mjweather/shorttimedetail/ShortTimeCastActivity;

    const/4 v2, 0x0

    invoke-direct {v0, v1, v2}, Lcom/moji/share/MJThirdShareManager;-><init>(Landroid/app/Activity;Lcom/moji/share/listener/ShareListener;)V

    invoke-static {p1, v0}, Lcom/moji/mjweather/shorttimedetail/ShortTimeCastActivity;->a(Lcom/moji/mjweather/shorttimedetail/ShortTimeCastActivity;Lcom/moji/share/MJThirdShareManager;)Lcom/moji/share/MJThirdShareManager;

    .line 225
    :cond_0
    iget-object p1, p0, Lcom/moji/mjweather/shorttimedetail/ShortTimeCastActivity$1;->a:Lcom/moji/mjweather/shorttimedetail/ShortTimeCastActivity;

    invoke-static {p1}, Lcom/moji/mjweather/shorttimedetail/ShortTimeCastActivity;->b(Lcom/moji/mjweather/shorttimedetail/ShortTimeCastActivity;)Lcom/moji/share/entity/ShareContentConfig;

    move-result-object p1

    .line 227
    iget-object v0, p0, Lcom/moji/mjweather/shorttimedetail/ShortTimeCastActivity$1;->a:Lcom/moji/mjweather/shorttimedetail/ShortTimeCastActivity;

    invoke-static {v0}, Lcom/moji/mjweather/shorttimedetail/ShortTimeCastActivity;->a(Lcom/moji/mjweather/shorttimedetail/ShortTimeCastActivity;)Lcom/moji/share/MJThirdShareManager;

    move-result-object v0

    sget-object v1, Lcom/moji/share/entity/ShareFromType;->ShortTime:Lcom/moji/share/entity/ShareFromType;

    const/4 v2, 0x1

    invoke-virtual {v0, v1, p1, v2}, Lcom/moji/share/MJThirdShareManager;->a(Lcom/moji/share/entity/ShareFromType;Lcom/moji/share/entity/ShareContentConfig;Z)V

    return-void
.end method
