o.smali

.class Lcom/sandboxol/halloween/view/activity/main/o;
.super Lcom/sandboxol/common/base/web/OnResponseListener;
.source "EventMainViewModel.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/sandboxol/halloween/view/activity/main/s;->H()V
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/sandboxol/common/base/web/OnResponseListener<",
        "Lcom/sandboxol/halloween/entity/AllEventInfoResponse;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/sandboxol/halloween/view/activity/main/s;


# direct methods
.method constructor <init>(Lcom/sandboxol/halloween/view/activity/main/s;)V
    .registers 2

    .line 1
    iput-object p1, p0, Lcom/sandboxol/halloween/view/activity/main/o;->a:Lcom/sandboxol/halloween/view/activity/main/s;

    invoke-direct {p0}, Lcom/sandboxol/common/base/web/OnResponseListener;-><init>()V

    return-void
.end method

.method static synthetic a(Lcom/sandboxol/halloween/entity/EventConfigInfo;Lcom/sandboxol/halloween/entity/EventConfigInfo;)I
    .registers 2

    .line 13
    invoke-virtual {p0}, Lcom/sandboxol/halloween/entity/EventConfigInfo;->getPriority()I

    move-result p0

    invoke-virtual {p1}, Lcom/sandboxol/halloween/entity/EventConfigInfo;->getPriority()I

    move-result p1

    invoke-static {p0, p1}, Ljava/lang/Integer;->compare(II)I

    move-result p0

    neg-int p0, p0

    return p0
.end method


# virtual methods
.method public a(Lcom/sandboxol/halloween/entity/AllEventInfoResponse;)V
    .registers 6

    if-eqz p1, :cond_74

    .line 1
    invoke-virtual {p1}, Lcom/sandboxol/halloween/entity/AllEventInfoResponse;->getStatusList()Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_74

    .line 2
    invoke-virtual {p1}, 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_74

    .line 3
    invoke-virtual {p1}, Lcom/sandboxol/halloween/entity/AllEventInfoResponse;->getStatusList()Ljava/util/List;

    move-result-object v0

    invoke-static {v0}, Lcom/sandboxol/halloween/c/i;->a(Ljava/util/List;)V

    .line 4
    invoke-virtual {p1}, Lcom/sandboxol/halloween/entity/AllEventInfoResponse;->getStatusList()Ljava/util/List;

    move-result-object v0

    sget-object v1, Lcom/sandboxol/halloween/view/activity/main/b;->a:Lcom/sandboxol/halloween/view/activity/main/b;

    invoke-static {v0, v1}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V

    .line 5
    invoke-virtual {p1}, 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

    :goto_2a
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_3a

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/sandboxol/halloween/entity/EventConfigInfo;

    .line 6
    invoke-virtual {v1}, Lcom/sandboxol/halloween/entity/EventConfigInfo;->extractEventIdAndTempNumFromActivityId()V

    goto :goto_2a

    .line 7
    :cond_3a
    invoke-static {}, Lcom/sandboxol/halloween/view/template/c;->d()Lcom/sandboxol/halloween/view/template/c;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/sandboxol/halloween/view/template/c;->a(Lcom/sandboxol/halloween/entity/AllEventInfoResponse;)V

    const/4 v0, 0x0

    .line 8
    :goto_42
    invoke-virtual {p1}, Lcom/sandboxol/halloween/entity/AllEventInfoResponse;->getStatusList()Ljava/util/List;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-ge v0, v1, :cond_74

    .line 9
    invoke-virtual {p1}, Lcom/sandboxol/halloween/entity/AllEventInfoResponse;->getStatusList()Ljava/util/List;

    move-result-object v1

    invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    if-eqz v1, :cond_71

    .line 10
    iget-object v1, p0, Lcom/sandboxol/halloween/view/activity/main/o;->a:Lcom/sandboxol/halloween/view/activity/main/s;

    invoke-virtual {p1}, Lcom/sandboxol/halloween/entity/AllEventInfoResponse;->getStatusList()Ljava/util/List;

    move-result-object v2

    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/sandboxol/halloween/entity/EventConfigInfo;

    invoke-virtual {v2}, Lcom/sandboxol/halloween/entity/EventConfigInfo;->getStatus()I

    move-result v2

    .line 11
    invoke-virtual {p1}, Lcom/sandboxol/halloween/entity/AllEventInfoResponse;->getStatusList()Ljava/util/List;

    move-result-object v3

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v3

    .line 12
    invoke-static {v1, v0, v2, v3}, Lcom/sandboxol/halloween/view/activity/main/s;->a(Lcom/sandboxol/halloween/view/activity/main/s;III)V

    :cond_71
    add-int/lit8 v0, v0, 0x1

    goto :goto_42

    :cond_74
    return-void
.end method

.method public onError(ILjava/lang/String;)V
    .registers 3

    return-void
.end method

.method public onServerError(I)V
    .registers 2

    return-void
.end method

.method public bridge synthetic onSuccess(Ljava/lang/Object;)V
    .registers 2

    .line 1
    check-cast p1, Lcom/sandboxol/halloween/entity/AllEventInfoResponse;

    invoke-virtual {p0, p1}, Lcom/sandboxol/halloween/view/activity/main/o;->a(Lcom/sandboxol/halloween/entity/AllEventInfoResponse;)V

    return-void
.end method