b.smali
.class public final Lcom/imo/android/imoim/feeds/ui/home/recuser/b;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/imo/android/imoim/feeds/ui/home/recuser/b$a;
}
.end annotation
# static fields
.field public static final e:Lcom/imo/android/imoim/feeds/ui/home/recuser/b$a;
# instance fields
.field a:I
.field final b:I
.field final c:Ljava/lang/String;
.field final d:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lcom/masala/share/proto/user/RecUserInfo;",
">;"
}
.end annotation
.end field
.field private final f:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.registers 2
new-instance v0, Lcom/imo/android/imoim/feeds/ui/home/recuser/b$a;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lcom/imo/android/imoim/feeds/ui/home/recuser/b$a;-><init>(Lkotlin/f/b/j;)V
sput-object v0, Lcom/imo/android/imoim/feeds/ui/home/recuser/b;->e:Lcom/imo/android/imoim/feeds/ui/home/recuser/b$a;
return-void
.end method
.method public constructor <init>(IILjava/lang/String;Ljava/util/List;Ljava/util/Map;)V
.registers 7
.annotation system Ldalvik/annotation/Signature;
value = {
"(II",
"Ljava/lang/String;",
"Ljava/util/List<",
"Lcom/masala/share/proto/user/RecUserInfo;",
">;",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;)V"
}
.end annotation
const-string v0, "entranceText"
invoke-static {p3, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "recUserList"
invoke-static {p4, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "otherAttr"
invoke-static {p5, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 5
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput p1, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/b;->a:I
iput p2, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/b;->b:I
iput-object p3, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/b;->c:Ljava/lang/String;
iput-object p4, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/b;->d:Ljava/util/List;
iput-object p5, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/b;->f:Ljava/util/Map;
return-void
.end method
# virtual methods
.method public final a()I
.registers 4
const/4 v0, 0x0
.line 33
:try_start_1
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/b;->f:Ljava/util/Map;
const-string v2, "unread_post_count"
invoke-interface {v1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/String;
if-eqz v1, :cond_16
invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
move-result v1
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
goto :goto_17
:cond_16
const/4 v1, 0x0
:goto_17
if-eqz v1, :cond_1d
.line 34
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
move-result v0
:try_end_1d
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1d} :catch_1d
:catch_1d
:cond_1d
return v0
.end method
.method public final a(I)V
.registers 4
.line 42
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/b;->f:Ljava/util/Map;
invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object p1
const-string v1, "unread_post_count"
invoke-interface {v0, v1, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method
.method public final b()I
.registers 4
const/4 v0, 0x0
.line 48
:try_start_1
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/b;->f:Ljava/util/Map;
const-string v2, "unread_poster_count"
invoke-interface {v1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/String;
if-eqz v1, :cond_16
invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
move-result v1
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
goto :goto_17
:cond_16
const/4 v1, 0x0
:goto_17
if-eqz v1, :cond_1d
.line 49
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
move-result v0
:try_end_1d
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1d} :catch_1d
:catch_1d
:cond_1d
return v0
.end method
.method public final b(I)V
.registers 4
.line 104
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/b;->f:Ljava/util/Map;
invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object p1
const-string v1, "curRecUserInfoIndex"
invoke-interface {v0, v1, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method
.method public final c()I
.registers 4
const/4 v0, 0x0
.line 59
:try_start_1
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/b;->f:Ljava/util/Map;
const-string v2, "unread_post_count_7d"
invoke-interface {v1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/String;
if-eqz v1, :cond_16
invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
move-result v1
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
goto :goto_17
:cond_16
const/4 v1, 0x0
:goto_17
if-eqz v1, :cond_1d
.line 60
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
move-result v0
:try_end_1d
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1d} :catch_1d
:catch_1d
:cond_1d
return v0
.end method
.method public final d()I
.registers 4
const/4 v0, 0x0
.line 81
:try_start_1
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/b;->f:Ljava/util/Map;
const-string v2, "normal_count"
invoke-interface {v1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/String;
if-eqz v1, :cond_16
invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
move-result v1
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
goto :goto_17
:cond_16
const/4 v1, 0x0
:goto_17
if-eqz v1, :cond_1d
.line 82
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
move-result v0
:try_end_1d
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1d} :catch_1d
:catch_1d
:cond_1d
return v0
.end method
.method public final e()Lcom/masala/share/proto/user/RecUserInfo;
.registers 5
.line 96
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/b;->f:Ljava/util/Map;
const-string v1, "curRecUserInfoIndex"
invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/String;
const/4 v1, 0x0
if-eqz v0, :cond_16
invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
move-result v0
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
goto :goto_17
:cond_16
move-object v0, v1
:goto_17
if-eqz v0, :cond_38
.line 97
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v2
if-ltz v2, :cond_38
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v2
iget-object v3, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/b;->d:Ljava/util/List;
invoke-interface {v3}, Ljava/util/List;->size()I
move-result v3
if-ge v2, v3, :cond_38
.line 98
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/b;->d:Ljava/util/List;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/masala/share/proto/user/RecUserInfo;
return-object v0
:cond_38
return-object v1
.end method
.method public final toString()Ljava/lang/String;
.registers 3
.line 108
iget v0, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/b;->a:I
const/4 v1, 0x1
if-eq v0, v1, :cond_25
const/4 v1, 0x2
if-eq v0, v1, :cond_22
const/4 v1, 0x3
if-eq v0, v1, :cond_1f
const/4 v1, 0x4
if-eq v0, v1, :cond_1c
.line 113
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v0
const-string v1, "javaClass.simpleName"
invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
return-object v0
:cond_1c
const-string v0, "FOLLOW_TAB"
return-object v0
:cond_1f
const-string v0, "PERSONAL"
return-object v0
:cond_22
const-string v0, "POPULAR"
return-object v0
:cond_25
const-string v0, "DISCOVER"
return-object v0
.end method