c.smali
.class public Lcom/sandboxol/halloween/view/template/c;
.super Ljava/lang/Object;
.source "EventInfoCacheManager.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/sandboxol/halloween/view/template/c$a;
}
.end annotation
# instance fields
.field public a:Ljava/lang/String;
.field private b:Lcom/sandboxol/halloween/entity/AllEventInfoResponse;
.field private c:Lcom/sandboxol/halloween/entity/LimitedInfo;
.field private d:Lcom/sandboxol/halloween/entity/RechargeInfo;
.field private e:Lcom/sandboxol/halloween/entity/ReproduceInfo;
.field private f:Lcom/sandboxol/halloween/entity/WishInfo;
.field private g:Lcom/sandboxol/halloween/entity/SevenDayTaskInfoResponse;
.field private h:Lcom/sandboxol/halloween/entity/OnePurchaseInfoResponse;
.field private i:Lcom/sandboxol/halloween/entity/ChestBoxInfo;
.field private j:Lcom/sandboxol/center/entity/EventSoBgInfo;
.field private k:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field private l:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field private m:Z
# direct methods
.method private constructor <init>()V
.registers 2
.line 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 3
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
iput-object v0, p0, Lcom/sandboxol/halloween/view/template/c;->k:Ljava/util/List;
.line 4
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
iput-object v0, p0, Lcom/sandboxol/halloween/view/template/c;->l:Ljava/util/Map;
return-void
.end method
.method synthetic constructor <init>(Lcom/sandboxol/halloween/view/template/b;)V
.registers 2
.line 1
invoke-direct {p0}, Lcom/sandboxol/halloween/view/template/c;-><init>()V
return-void
.end method
.method public static a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
.registers 3
.line 23
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result p1
if-eqz p1, :cond_b
const-string p1, "reportNullEventId"
.line 24
invoke-static {p0, p1, p2}, Lcom/sandboxol/common/interfaces/ReportDataAdapter;->onEvent(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
:cond_b
return-void
.end method
.method public static a(Lcom/sandboxol/center/entity/EventSoBgInfo;)V
.registers 2
.line 9
invoke-static {}, Lcom/sandboxol/halloween/view/template/c;->d()Lcom/sandboxol/halloween/view/template/c;
move-result-object v0
iput-object p0, v0, Lcom/sandboxol/halloween/view/template/c;->j:Lcom/sandboxol/center/entity/EventSoBgInfo;
return-void
.end method
.method public static a(Ljava/lang/String;)V
.registers 2
.line 10
invoke-static {}, Lcom/sandboxol/halloween/view/template/c;->d()Lcom/sandboxol/halloween/view/template/c;
move-result-object v0
iget-object v0, v0, Lcom/sandboxol/halloween/view/template/c;->k:Ljava/util/List;
invoke-interface {v0, p0}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_15
.line 11
invoke-static {}, Lcom/sandboxol/halloween/view/template/c;->d()Lcom/sandboxol/halloween/view/template/c;
move-result-object v0
iget-object v0, v0, Lcom/sandboxol/halloween/view/template/c;->k:Ljava/util/List;
invoke-interface {v0, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
:cond_15
return-void
.end method
.method public static a(Ljava/lang/String;Ljava/lang/String;)V
.registers 3
.line 12
invoke-static {}, Lcom/sandboxol/halloween/view/template/c;->d()Lcom/sandboxol/halloween/view/template/c;
move-result-object v0
iget-object v0, v0, Lcom/sandboxol/halloween/view/template/c;->l:Ljava/util/Map;
invoke-interface {v0, p0, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method
.method public static a(Z)V
.registers 2
.line 13
invoke-static {}, Lcom/sandboxol/halloween/view/template/c;->d()Lcom/sandboxol/halloween/view/template/c;
move-result-object v0
iput-boolean p0, v0, Lcom/sandboxol/halloween/view/template/c;->m:Z
return-void
.end method
.method public static b(Ljava/lang/String;)Ljava/lang/String;
.registers 4
.line 2
invoke-static {}, Lcom/sandboxol/halloween/view/template/c;->d()Lcom/sandboxol/halloween/view/template/c;
move-result-object v0
iget-object v0, v0, Lcom/sandboxol/halloween/view/template/c;->j:Lcom/sandboxol/center/entity/EventSoBgInfo;
if-eqz v0, :cond_29
.line 3
invoke-static {}, Lcom/sandboxol/halloween/view/template/c;->d()Lcom/sandboxol/halloween/view/template/c;
move-result-object v0
iget-object v0, v0, Lcom/sandboxol/halloween/view/template/c;->j:Lcom/sandboxol/center/entity/EventSoBgInfo;
invoke-virtual {v0}, Lcom/sandboxol/center/entity/EventSoBgInfo;->getImages()Ljava/util/List;
move-result-object v0
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v0
:cond_16
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_29
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/String;
.line 4
invoke-virtual {v1, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_16
return-object v1
:cond_29
const-string p0, ""
return-object p0
.end method
.method public static c(Ljava/lang/String;)Ljava/lang/String;
.registers 4
.line 2
invoke-static {}, Lcom/sandboxol/halloween/view/template/c;->d()Lcom/sandboxol/halloween/view/template/c;
move-result-object v0
iget-object v0, v0, Lcom/sandboxol/halloween/view/template/c;->k:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v0
:cond_a
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_1d
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/String;
.line 3
invoke-virtual {v1, p0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
move-result v2
if-eqz v2, :cond_a
return-object v1
:cond_1d
const-string p0, "decorate_default_bg.png"
return-object p0
.end method
.method public static d()Lcom/sandboxol/halloween/view/template/c;
.registers 1
.line 1
invoke-static {}, Lcom/sandboxol/halloween/view/template/c$a;->a()Lcom/sandboxol/halloween/view/template/c;
move-result-object v0
return-object v0
.end method
.method public static d(Ljava/lang/String;)Ljava/lang/String;
.registers 2
.line 2
invoke-static {}, Lcom/sandboxol/halloween/view/template/c;->d()Lcom/sandboxol/halloween/view/template/c;
move-result-object v0
iget-object v0, v0, Lcom/sandboxol/halloween/view/template/c;->l:Ljava/util/Map;
invoke-interface {v0, p0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
check-cast p0, Ljava/lang/String;
return-object p0
.end method
.method public static e(Ljava/lang/String;)Ljava/lang/String;
.registers 5
.line 2
invoke-static {}, Lcom/sandboxol/halloween/view/template/c;->d()Lcom/sandboxol/halloween/view/template/c;
move-result-object v0
iget-object v0, v0, Lcom/sandboxol/halloween/view/template/c;->b:Lcom/sandboxol/halloween/entity/AllEventInfoResponse;
const-string v1, "0"
if-eqz v0, :cond_55
.line 3
invoke-static {}, Lcom/sandboxol/halloween/view/template/c;->d()Lcom/sandboxol/halloween/view/template/c;
move-result-object v0
iget-object v0, v0, Lcom/sandboxol/halloween/view/template/c;->b:Lcom/sandboxol/halloween/entity/AllEventInfoResponse;
invoke-virtual {v0}, Lcom/sandboxol/halloween/entity/AllEventInfoResponse;->getStatusList()Ljava/util/List;
move-result-object v0
if-eqz v0, :cond_55
.line 4
invoke-static {}, Lcom/sandboxol/halloween/view/template/c;->d()Lcom/sandboxol/halloween/view/template/c;
move-result-object v0
iget-object v0, v0, Lcom/sandboxol/halloween/view/template/c;->b:Lcom/sandboxol/halloween/entity/AllEventInfoResponse;
invoke-virtual {v0}, Lcom/sandboxol/halloween/entity/AllEventInfoResponse;->getStatusList()Ljava/util/List;
move-result-object v0
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
if-lez v0, :cond_55
.line 5
invoke-static {}, Lcom/sandboxol/halloween/view/template/c;->d()Lcom/sandboxol/halloween/view/template/c;
move-result-object v0
iget-object v0, v0, Lcom/sandboxol/halloween/view/template/c;->b:Lcom/sandboxol/halloween/entity/AllEventInfoResponse;
invoke-virtual {v0}, Lcom/sandboxol/halloween/entity/AllEventInfoResponse;->getStatusList()Ljava/util/List;
move-result-object v0
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v0
:cond_34
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_55
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Lcom/sandboxol/halloween/entity/EventConfigInfo;
.line 6
invoke-virtual {v2}, Lcom/sandboxol/halloween/entity/EventConfigInfo;->getEventId()Ljava/lang/String;
move-result-object v3
invoke-virtual {v3, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v3
if-eqz v3, :cond_34
.line 7
invoke-virtual {v2}, Lcom/sandboxol/halloween/entity/EventConfigInfo;->getTempNum()Ljava/lang/String;
move-result-object p0
if-nez p0, :cond_51
goto :goto_55
:cond_51
invoke-virtual {v2}, Lcom/sandboxol/halloween/entity/EventConfigInfo;->getTempNum()Ljava/lang/String;
move-result-object v1
:cond_55
:goto_55
return-object v1
.end method
.method public static k()Z
.registers 1
.line 1
invoke-static {}, Lcom/sandboxol/halloween/view/template/c;->d()Lcom/sandboxol/halloween/view/template/c;
move-result-object v0
iget-boolean v0, v0, Lcom/sandboxol/halloween/view/template/c;->m:Z
return v0
.end method
.method public static l()V
.registers 3
.line 1
new-instance v0, Lcom/sandboxol/halloween/view/template/b;
const-wide/16 v1, 0x3e8
invoke-direct {v0, v1, v2, v1, v2}, Lcom/sandboxol/halloween/view/template/b;-><init>(JJ)V
.line 2
invoke-virtual {v0}, Landroid/os/CountDownTimer;->start()Landroid/os/CountDownTimer;
return-void
.end method
# virtual methods
.method public a()V
.registers 2
const/4 v0, 0x0
.line 14
iput-object v0, p0, Lcom/sandboxol/halloween/view/template/c;->a:Ljava/lang/String;
.line 15
iput-object v0, p0, Lcom/sandboxol/halloween/view/template/c;->b:Lcom/sandboxol/halloween/entity/AllEventInfoResponse;
.line 16
iput-object v0, p0, Lcom/sandboxol/halloween/view/template/c;->c:Lcom/sandboxol/halloween/entity/LimitedInfo;
.line 17
iput-object v0, p0, Lcom/sandboxol/halloween/view/template/c;->d:Lcom/sandboxol/halloween/entity/RechargeInfo;
.line 18
iput-object v0, p0, Lcom/sandboxol/halloween/view/template/c;->e:Lcom/sandboxol/halloween/entity/ReproduceInfo;
.line 19
iput-object v0, p0, Lcom/sandboxol/halloween/view/template/c;->f:Lcom/sandboxol/halloween/entity/WishInfo;
.line 20
iput-object v0, p0, Lcom/sandboxol/halloween/view/template/c;->g:Lcom/sandboxol/halloween/entity/SevenDayTaskInfoResponse;
.line 21
iput-object v0, p0, Lcom/sandboxol/halloween/view/template/c;->h:Lcom/sandboxol/halloween/entity/OnePurchaseInfoResponse;
.line 22
iput-object v0, p0, Lcom/sandboxol/halloween/view/template/c;->i:Lcom/sandboxol/halloween/entity/ChestBoxInfo;
return-void
.end method
.method public a(Lcom/sandboxol/halloween/entity/AllEventInfoResponse;)V
.registers 2
.line 1
iput-object p1, p0, Lcom/sandboxol/halloween/view/template/c;->b:Lcom/sandboxol/halloween/entity/AllEventInfoResponse;
return-void
.end method
.method public a(Lcom/sandboxol/halloween/entity/ChestBoxInfo;)V
.registers 2
.line 6
iput-object p1, p0, Lcom/sandboxol/halloween/view/template/c;->i:Lcom/sandboxol/halloween/entity/ChestBoxInfo;
return-void
.end method
.method public a(Lcom/sandboxol/halloween/entity/LimitedInfo;)V
.registers 2
.line 3
iput-object p1, p0, Lcom/sandboxol/halloween/view/template/c;->c:Lcom/sandboxol/halloween/entity/LimitedInfo;
return-void
.end method
.method public a(Lcom/sandboxol/halloween/entity/OnePurchaseInfoResponse;)V
.registers 2
.line 8
iput-object p1, p0, Lcom/sandboxol/halloween/view/template/c;->h:Lcom/sandboxol/halloween/entity/OnePurchaseInfoResponse;
return-void
.end method
.method public a(Lcom/sandboxol/halloween/entity/RechargeInfo;)V
.registers 2
.line 4
iput-object p1, p0, Lcom/sandboxol/halloween/view/template/c;->d:Lcom/sandboxol/halloween/entity/RechargeInfo;
return-void
.end method
.method public a(Lcom/sandboxol/halloween/entity/ReproduceInfo;)V
.registers 2
.line 5
iput-object p1, p0, Lcom/sandboxol/halloween/view/template/c;->e:Lcom/sandboxol/halloween/entity/ReproduceInfo;
return-void
.end method
.method public a(Lcom/sandboxol/halloween/entity/SevenDayTaskInfoResponse;)V
.registers 2
.line 2
iput-object p1, p0, Lcom/sandboxol/halloween/view/template/c;->g:Lcom/sandboxol/halloween/entity/SevenDayTaskInfoResponse;
return-void
.end method
.method public a(Lcom/sandboxol/halloween/entity/WishInfo;)V
.registers 2
.line 7
iput-object p1, p0, Lcom/sandboxol/halloween/view/template/c;->f:Lcom/sandboxol/halloween/entity/WishInfo;
return-void
.end method
.method public b()Lcom/sandboxol/halloween/entity/AllEventInfoResponse;
.registers 2
.line 1
iget-object v0, p0, Lcom/sandboxol/halloween/view/template/c;->b:Lcom/sandboxol/halloween/entity/AllEventInfoResponse;
return-object v0
.end method
.method public c()Lcom/sandboxol/halloween/entity/ChestBoxInfo;
.registers 2
.line 1
iget-object v0, p0, Lcom/sandboxol/halloween/view/template/c;->i:Lcom/sandboxol/halloween/entity/ChestBoxInfo;
return-object v0
.end method
.method public e()Lcom/sandboxol/halloween/entity/LimitedInfo;
.registers 2
.line 1
iget-object v0, p0, Lcom/sandboxol/halloween/view/template/c;->c:Lcom/sandboxol/halloween/entity/LimitedInfo;
return-object v0
.end method
.method public f()Lcom/sandboxol/halloween/entity/OnePurchaseInfoResponse;
.registers 2
.line 1
iget-object v0, p0, Lcom/sandboxol/halloween/view/template/c;->h:Lcom/sandboxol/halloween/entity/OnePurchaseInfoResponse;
return-object v0
.end method
.method public g()Lcom/sandboxol/halloween/entity/RechargeInfo;
.registers 2
.line 1
iget-object v0, p0, Lcom/sandboxol/halloween/view/template/c;->d:Lcom/sandboxol/halloween/entity/RechargeInfo;
return-object v0
.end method
.method public h()Lcom/sandboxol/halloween/entity/ReproduceInfo;
.registers 2
.line 1
iget-object v0, p0, Lcom/sandboxol/halloween/view/template/c;->e:Lcom/sandboxol/halloween/entity/ReproduceInfo;
return-object v0
.end method
.method public i()Lcom/sandboxol/halloween/entity/SevenDayTaskInfoResponse;
.registers 2
.line 1
iget-object v0, p0, Lcom/sandboxol/halloween/view/template/c;->g:Lcom/sandboxol/halloween/entity/SevenDayTaskInfoResponse;
return-object v0
.end method
.method public j()Lcom/sandboxol/halloween/entity/WishInfo;
.registers 2
.line 1
iget-object v0, p0, Lcom/sandboxol/halloween/view/template/c;->f:Lcom/sandboxol/halloween/entity/WishInfo;
return-object v0
.end method