Weather/smali_classes3/com/moji/newliveview/subject/cell/DetailShareCell$1.smali
2021-05-10 10:13:34 +02:00

174 lines
5.4 KiB
Smali

.class Lcom/moji/newliveview/subject/cell/DetailShareCell$1;
.super Ljava/lang/Object;
.source "DetailShareCell.java"
# interfaces
.implements Lcom/moji/share/listener/ShareListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/moji/newliveview/subject/cell/DetailShareCell;->a(Landroid/content/Context;Lcom/moji/share/entity/ShareChannelType;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/moji/newliveview/subject/cell/DetailShareCell;
# direct methods
.method constructor <init>(Lcom/moji/newliveview/subject/cell/DetailShareCell;)V
.locals 0
.line 121
iput-object p1, p0, Lcom/moji/newliveview/subject/cell/DetailShareCell$1;->a:Lcom/moji/newliveview/subject/cell/DetailShareCell;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(Lcom/moji/share/entity/ShareChannelType;)V
.locals 5
.line 125
iget-object v0, p0, Lcom/moji/newliveview/subject/cell/DetailShareCell$1;->a:Lcom/moji/newliveview/subject/cell/DetailShareCell;
const/4 v1, 0x0
invoke-static {v0, v1}, Lcom/moji/newliveview/subject/cell/DetailShareCell;->a(Lcom/moji/newliveview/subject/cell/DetailShareCell;I)Lorg/json/JSONObject;
move-result-object v0
.line 126
sget-object v1, Lcom/moji/share/entity/ShareChannelType;->WX_FRIEND:Lcom/moji/share/entity/ShareChannelType;
if-ne p1, v1, :cond_0
.line 127
iget-object p1, p0, Lcom/moji/newliveview/subject/cell/DetailShareCell$1;->a:Lcom/moji/newliveview/subject/cell/DetailShareCell;
const/4 v0, 0x1
invoke-static {p1, v0}, Lcom/moji/newliveview/subject/cell/DetailShareCell;->a(Lcom/moji/newliveview/subject/cell/DetailShareCell;I)Lorg/json/JSONObject;
move-result-object v0
goto :goto_0
.line 128
:cond_0
sget-object v1, Lcom/moji/share/entity/ShareChannelType;->WX_TIMELINE:Lcom/moji/share/entity/ShareChannelType;
if-ne p1, v1, :cond_1
.line 129
iget-object p1, p0, Lcom/moji/newliveview/subject/cell/DetailShareCell$1;->a:Lcom/moji/newliveview/subject/cell/DetailShareCell;
const/4 v0, 0x2
invoke-static {p1, v0}, Lcom/moji/newliveview/subject/cell/DetailShareCell;->a(Lcom/moji/newliveview/subject/cell/DetailShareCell;I)Lorg/json/JSONObject;
move-result-object v0
goto :goto_0
.line 130
:cond_1
sget-object v1, Lcom/moji/share/entity/ShareChannelType;->QQ:Lcom/moji/share/entity/ShareChannelType;
if-ne p1, v1, :cond_2
.line 131
iget-object p1, p0, Lcom/moji/newliveview/subject/cell/DetailShareCell$1;->a:Lcom/moji/newliveview/subject/cell/DetailShareCell;
const/4 v0, 0x3
invoke-static {p1, v0}, Lcom/moji/newliveview/subject/cell/DetailShareCell;->a(Lcom/moji/newliveview/subject/cell/DetailShareCell;I)Lorg/json/JSONObject;
move-result-object v0
goto :goto_0
.line 132
:cond_2
sget-object v1, Lcom/moji/share/entity/ShareChannelType;->WB:Lcom/moji/share/entity/ShareChannelType;
if-ne p1, v1, :cond_3
.line 133
iget-object p1, p0, Lcom/moji/newliveview/subject/cell/DetailShareCell$1;->a:Lcom/moji/newliveview/subject/cell/DetailShareCell;
const/4 v0, 0x4
invoke-static {p1, v0}, Lcom/moji/newliveview/subject/cell/DetailShareCell;->a(Lcom/moji/newliveview/subject/cell/DetailShareCell;I)Lorg/json/JSONObject;
move-result-object v0
.line 135
:cond_3
:goto_0
iget-object p1, p0, Lcom/moji/newliveview/subject/cell/DetailShareCell$1;->a:Lcom/moji/newliveview/subject/cell/DetailShareCell;
invoke-static {p1}, Lcom/moji/newliveview/subject/cell/DetailShareCell;->a(Lcom/moji/newliveview/subject/cell/DetailShareCell;)Z
move-result p1
if-eqz p1, :cond_4
.line 136
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
move-result-object p1
sget-object v1, Lcom/moji/statistics/EVENT_TAG;->NEWLIVEVIEW_SUBJECT_RIGHT_SHARE:Lcom/moji/statistics/EVENT_TAG;
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, ""
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v3, p0, Lcom/moji/newliveview/subject/cell/DetailShareCell$1;->a:Lcom/moji/newliveview/subject/cell/DetailShareCell;
invoke-static {v3}, Lcom/moji/newliveview/subject/cell/DetailShareCell;->b(Lcom/moji/newliveview/subject/cell/DetailShareCell;)Ljava/lang/Object;
move-result-object v3
check-cast v3, Lcom/moji/http/snsforum/entity/SubjectDetailResult$SubjectDetail;
iget-wide v3, v3, Lcom/moji/http/snsforum/entity/SubjectDetailResult$SubjectDetail;->id:J
invoke-virtual {v2, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
invoke-virtual {p1, v1, v2, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;Lorg/json/JSONObject;)Lcom/moji/statistics/EventManager;
:cond_4
return-void
.end method
.method public b(Lcom/moji/share/entity/ShareChannelType;)V
.locals 0
return-void
.end method
.method public c(Lcom/moji/share/entity/ShareChannelType;)V
.locals 0
return-void
.end method