g.smali
.class public Lcom/sandboxol/gamedetail/view/fragment/rank/g;
.super Lcom/sandboxol/common/base/viewmodel/ListItemViewModel;
.source "GameDetailRankPageItemViewModel.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/sandboxol/common/base/viewmodel/ListItemViewModel<",
"Lcom/sandboxol/center/entity/CampaignRank;",
">;"
}
.end annotation
# instance fields
.field public a:Lcom/sandboxol/common/command/ReplyCommand;
# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/sandboxol/center/entity/CampaignRank;)V
.registers 3
.line 1
invoke-direct {p0, p1, p2}, Lcom/sandboxol/common/base/viewmodel/ListItemViewModel;-><init>(Landroid/content/Context;Ljava/lang/Object;)V
.line 2
new-instance p1, Lcom/sandboxol/common/command/ReplyCommand;
new-instance p2, Lcom/sandboxol/gamedetail/view/fragment/rank/a;
invoke-direct {p2, p0}, Lcom/sandboxol/gamedetail/view/fragment/rank/a;-><init>(Lcom/sandboxol/gamedetail/view/fragment/rank/g;)V
invoke-direct {p1, p2}, Lcom/sandboxol/common/command/ReplyCommand;-><init>(Lrx/functions/Action0;)V
iput-object p1, p0, Lcom/sandboxol/gamedetail/view/fragment/rank/g;->a:Lcom/sandboxol/common/command/ReplyCommand;
return-void
.end method
.method public static synthetic a(Lcom/sandboxol/gamedetail/view/fragment/rank/g;)V
.registers 1
invoke-direct {p0}, Lcom/sandboxol/gamedetail/view/fragment/rank/g;->h()V
return-void
.end method
.method private h()V
.registers 5
.line 1
iget-object v0, p0, Lcom/sandboxol/common/base/viewmodel/ListItemViewModel;->context:Landroid/content/Context;
iget-object v1, p0, Lcom/sandboxol/common/base/viewmodel/ListItemViewModel;->item:Ljava/lang/Object;
check-cast v1, Lcom/sandboxol/center/entity/CampaignRank;
invoke-virtual {v1}, Lcom/sandboxol/center/entity/CampaignRank;->getUserId()J
move-result-wide v1
const/4 v3, 0x0
invoke-static {v0, v3, v1, v2}, Lcom/sandboxol/center/router/manager/FriendManager;->getFriendDataAndEnterFriendInfo(Landroid/content/Context;Lcom/sandboxol/greendao/entity/Friend;J)V
return-void
.end method
# virtual methods
.method public getItem()Lcom/sandboxol/center/entity/CampaignRank;
.registers 2
.line 2
invoke-super {p0}, Lcom/sandboxol/common/base/viewmodel/ListItemViewModel;->getItem()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/sandboxol/center/entity/CampaignRank;
return-object v0
.end method
.method public bridge synthetic getItem()Ljava/lang/Object;
.registers 2
.line 1
invoke-virtual {p0}, Lcom/sandboxol/gamedetail/view/fragment/rank/g;->getItem()Lcom/sandboxol/center/entity/CampaignRank;
move-result-object v0
return-object v0
.end method