.class Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;
.super Ljava/lang/Object;
.source "AdMyViewCreater.java"

# interfaces
.implements Lcom/squareup/picasso/Callback;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;->b(Lcom/moji/mjad/common/data/AdCommon;)V
.end annotation

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


# instance fields
.field final synthetic a:Lcom/moji/mjad/common/data/AdCommon;

.field final synthetic b:Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;


# direct methods
.method constructor <init>(Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;Lcom/moji/mjad/common/data/AdCommon;)V
    .locals 0

    .line 134
    iput-object p1, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->b:Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;

    iput-object p2, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->a:Lcom/moji/mjad/common/data/AdCommon;

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

    return-void
.end method


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

    .line 160
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->b:Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;

    invoke-static {v0}, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;->f(Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;)Landroid/widget/ImageView;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 161
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->b:Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;

    invoke-static {v0}, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;->c(Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;)Landroid/widget/LinearLayout;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 162
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->b:Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;

    invoke-static {v0}, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;->c(Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 164
    :cond_0
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->b:Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;

    invoke-static {v0}, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;->d(Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;)Landroid/widget/RelativeLayout;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 165
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->b:Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;

    invoke-static {v0}, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;->d(Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;)Landroid/widget/RelativeLayout;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 167
    :cond_1
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->a:Lcom/moji/mjad/common/data/AdCommon;

    if-eqz v0, :cond_3

    .line 168
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->b:Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;

    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->a:Lcom/moji/mjad/common/data/AdCommon;

    invoke-static {v0, v1}, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;->a(Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;Lcom/moji/mjad/common/data/AdCommon;)Lcom/moji/badge/BadgeEvent$TYPE;

    move-result-object v0

    if-eqz v0, :cond_3

    .line 169
    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->b:Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;

    invoke-static {v1}, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;->g(Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;)Lcom/moji/badge/BadgeView;

    move-result-object v1

    if-eqz v1, :cond_3

    .line 170
    new-instance v1, Lcom/moji/badge/BadgePreference;

    iget-object v2, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->b:Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;

    iget-object v2, v2, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;->e:Landroid/content/Context;

    invoke-direct {v1, v2}, Lcom/moji/badge/BadgePreference;-><init>(Landroid/content/Context;)V

    const v2, -0xfffe

    invoke-virtual {v1, v0, v2}, Lcom/moji/badge/BadgePreference;->c(Lcom/moji/badge/BadgeEvent$TYPE;I)V

    .line 171
    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->b:Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;

    iget-object v1, v1, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;->e:Landroid/content/Context;

    invoke-static {v1, v0}, Lcom/moji/badge/BadgeUtil;->b(Landroid/content/Context;Lcom/moji/badge/BadgeEvent$TYPE;)I

    move-result v1

    const v3, -0xffff

    if-ne v1, v3, :cond_2

    .line 172
    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->b:Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;

    iget-object v1, v1, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;->e:Landroid/content/Context;

    invoke-static {v1, v0, v2}, Lcom/moji/badge/BadgeUtil;->a(Landroid/content/Context;Lcom/moji/badge/BadgeEvent$TYPE;I)V

    .line 174
    :cond_2
    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->b:Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;

    invoke-static {v1}, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;->g(Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;)Lcom/moji/badge/BadgeView;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/moji/badge/BadgeView;->a(Lcom/moji/badge/BadgeEvent$TYPE;)Z

    :cond_3
    return-void
.end method

.method public b()V
    .locals 4

    .line 137
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->b:Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;

    invoke-static {v0}, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;->a(Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;)Landroid/widget/ImageView;

    move-result-object v0

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    .line 138
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->b:Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;

    invoke-static {v0}, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;->b(Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;)Landroid/widget/ImageView;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 140
    :cond_0
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->b:Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;

    invoke-static {v0}, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;->c(Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;)Landroid/widget/LinearLayout;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 141
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->b:Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;

    invoke-static {v0}, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;->c(Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 143
    :cond_1
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->b:Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;

    invoke-static {v0}, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;->d(Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;)Landroid/widget/RelativeLayout;

    move-result-object v0

    if-eqz v0, :cond_2

    .line 144
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->b:Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;

    invoke-static {v0}, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;->d(Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;)Landroid/widget/RelativeLayout;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 146
    :cond_2
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->a:Lcom/moji/mjad/common/data/AdCommon;

    if-eqz v0, :cond_4

    .line 147
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->b:Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;

    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->a:Lcom/moji/mjad/common/data/AdCommon;

    invoke-static {v0, v1}, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;->a(Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;Lcom/moji/mjad/common/data/AdCommon;)Lcom/moji/badge/BadgeEvent$TYPE;

    move-result-object v0

    if-eqz v0, :cond_4

    .line 148
    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->b:Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;

    invoke-static {v1}, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;->e(Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;)Lcom/moji/badge/BadgeView;

    move-result-object v1

    if-eqz v1, :cond_4

    .line 149
    new-instance v1, Lcom/moji/badge/BadgePreference;

    iget-object v2, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->b:Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;

    iget-object v2, v2, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;->e:Landroid/content/Context;

    invoke-direct {v1, v2}, Lcom/moji/badge/BadgePreference;-><init>(Landroid/content/Context;)V

    const v2, -0xffff

    invoke-virtual {v1, v0, v2}, Lcom/moji/badge/BadgePreference;->c(Lcom/moji/badge/BadgeEvent$TYPE;I)V

    .line 150
    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->b:Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;

    iget-object v1, v1, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;->e:Landroid/content/Context;

    invoke-static {v1, v0}, Lcom/moji/badge/BadgeUtil;->b(Landroid/content/Context;Lcom/moji/badge/BadgeEvent$TYPE;)I

    move-result v1

    const v3, -0xfffe

    if-ne v1, v3, :cond_3

    .line 151
    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->b:Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;

    iget-object v1, v1, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;->e:Landroid/content/Context;

    invoke-static {v1, v0, v2}, Lcom/moji/badge/BadgeUtil;->a(Landroid/content/Context;Lcom/moji/badge/BadgeEvent$TYPE;I)V

    .line 153
    :cond_3
    iget-object v1, p0, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater$1;->b:Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;

    invoke-static {v1}, Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;->e(Lcom/moji/mjad/common/view/creater/position/AdMyViewCreater;)Lcom/moji/badge/BadgeView;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/moji/badge/BadgeView;->a(Lcom/moji/badge/BadgeEvent$TYPE;)Z

    :cond_4
    return-void
.end method
