.class Lcom/moji/mjweather/weather/adapter/WeatherListAdapter$7;
.super Lcom/moji/mjad/common/listener/AbsCommonViewVisibleListenerImpl;
.source "WeatherListAdapter.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->h()V
.end annotation

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


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


# direct methods
.method constructor <init>(Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;Lcom/moji/mjad/common/view/CommonAdView;)V
    .locals 0

    .line 536
    iput-object p1, p0, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter$7;->a:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    invoke-direct {p0, p2}, Lcom/moji/mjad/common/listener/AbsCommonViewVisibleListenerImpl;-><init>(Lcom/moji/mjad/common/view/CommonAdView;)V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 3

    .line 540
    iget-object v0, p0, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter$7;->a:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    sget-object v1, Lcom/moji/viewcontrol/CardType;->BOTTOM_AD:Lcom/moji/viewcontrol/CardType;

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->a(Lcom/moji/viewcontrol/CardType;)Lcom/moji/mjweather/weather/control/MJWhetherViewControl;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 541
    instance-of v1, v0, Lcom/moji/mjweather/weather/control/WeatherBottomAdViewControl;

    if-eqz v1, :cond_0

    .line 543
    check-cast v0, Lcom/moji/mjweather/weather/control/WeatherBottomAdViewControl;

    const/4 v1, 0x0

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Lcom/moji/mjweather/weather/control/WeatherBottomAdViewControl;->a(Lcom/moji/mjad/enumdata/MojiAdGoneType;Z)V

    :cond_0
    return-void
.end method

.method public a(Lcom/moji/mjad/enumdata/MojiAdGoneType;)V
    .locals 2

    .line 549
    iget-object v0, p0, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter$7;->a:Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;

    sget-object v1, Lcom/moji/viewcontrol/CardType;->BOTTOM_AD:Lcom/moji/viewcontrol/CardType;

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/weather/adapter/WeatherListAdapter;->a(Lcom/moji/viewcontrol/CardType;)Lcom/moji/mjweather/weather/control/MJWhetherViewControl;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 550
    instance-of v1, v0, Lcom/moji/mjweather/weather/control/WeatherBottomAdViewControl;

    if-eqz v1, :cond_0

    .line 551
    check-cast v0, Lcom/moji/mjweather/weather/control/WeatherBottomAdViewControl;

    const/4 v1, 0x0

    invoke-virtual {v0, p1, v1}, Lcom/moji/mjweather/weather/control/WeatherBottomAdViewControl;->a(Lcom/moji/mjad/enumdata/MojiAdGoneType;Z)V

    :cond_0
    return-void
.end method
