PkFollowUserPresenter.smali
.class public Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;
.super Lsg/bigo/core/mvp/presenter/BasePresenterImpl;
.source "SourceFile"
# interfaces
.implements Lsg/bigo/live/support64/component/pk/presenter/c;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lsg/bigo/core/mvp/presenter/BasePresenterImpl<",
"Lsg/bigo/live/support64/component/pk/view/f;",
"Lsg/bigo/live/support64/component/pk/model/c;",
">;",
"Lsg/bigo/live/support64/component/pk/presenter/c;"
}
.end annotation
# instance fields
.field private d:Z
.field private e:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lsg/bigo/live/support64/component/pk/a/e;",
">;"
}
.end annotation
.end field
.field private f:I
.field private g:J
# direct methods
.method public constructor <init>(Lsg/bigo/live/support64/component/pk/view/f;)V
.registers 2
.line 31
invoke-direct {p0, p1}, Lsg/bigo/core/mvp/presenter/BasePresenterImpl;-><init>(Lsg/bigo/core/mvp/a/a;)V
const/4 p1, 0x0
.line 25
iput-boolean p1, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->d:Z
.line 26
new-instance p1, Ljava/util/ArrayList;
invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
iput-object p1, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->e:Ljava/util/List;
.line 32
new-instance p1, Lsg/bigo/live/support64/component/pk/model/d;
invoke-direct {p1}, Lsg/bigo/live/support64/component/pk/model/d;-><init>()V
iput-object p1, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->b:Lsg/bigo/core/mvp/mode/a;
return-void
.end method
.method private synthetic a(JJLsg/bigo/live/support64/component/pk/a/b;)V
.registers 13
.line 89
iget v0, p5, Lsg/bigo/live/support64/component/pk/a/b;->d:I
if-nez v0, :cond_15
.line 90
iget-object v0, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->a:Lsg/bigo/core/mvp/a/a;
if-eqz v0, :cond_21
.line 91
iget-object v0, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->a:Lsg/bigo/core/mvp/a/a;
move-object v1, v0
check-cast v1, Lsg/bigo/live/support64/component/pk/view/f;
iget v6, p5, Lsg/bigo/live/support64/component/pk/a/b;->b:I
move-wide v2, p1
move-wide v4, p3
invoke-interface/range {v1 .. v6}, Lsg/bigo/live/support64/component/pk/view/f;->a(JJI)V
return-void
.line 94
:cond_15
iget-object p1, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->a:Lsg/bigo/core/mvp/a/a;
if-eqz p1, :cond_21
.line 95
iget-object p1, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->a:Lsg/bigo/core/mvp/a/a;
check-cast p1, Lsg/bigo/live/support64/component/pk/view/f;
const/4 p2, 0x0
invoke-interface {p1, p3, p4, p2}, Lsg/bigo/live/support64/component/pk/view/f;->a(JZ)V
:cond_21
return-void
.end method
.method private synthetic a(JLjava/lang/Throwable;)V
.registers 5
.line 100
instance-of p3, p3, Lsg/bigo/live/support64/bus/proto/exception/ProtocolTimeOutException;
if-eqz p3, :cond_10
.line 101
iget-object p3, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->a:Lsg/bigo/core/mvp/a/a;
if-eqz p3, :cond_10
.line 102
iget-object p3, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->a:Lsg/bigo/core/mvp/a/a;
check-cast p3, Lsg/bigo/live/support64/component/pk/view/f;
const/4 v0, 0x1
invoke-interface {p3, p1, p2, v0}, Lsg/bigo/live/support64/component/pk/view/f;->a(JZ)V
:cond_10
return-void
.end method
.method private synthetic a(Ljava/lang/Throwable;)V
.registers 3
const/4 v0, 0x0
.line 74
iput-boolean v0, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->d:Z
.line 75
instance-of p1, p1, Lsg/bigo/live/support64/bus/proto/exception/ProtocolTimeOutException;
if-eqz p1, :cond_13
.line 76
iget-object p1, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->a:Lsg/bigo/core/mvp/a/a;
if-eqz p1, :cond_13
.line 77
iget-object p1, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->a:Lsg/bigo/core/mvp/a/a;
check-cast p1, Lsg/bigo/live/support64/component/pk/view/f;
const/4 v0, 0x1
invoke-interface {p1, v0}, Lsg/bigo/live/support64/component/pk/view/f;->a(Z)V
:cond_13
return-void
.end method
.method private synthetic a(ZLsg/bigo/live/support64/component/pk/a/d;)V
.registers 8
const/4 v0, 0x0
.line 49
iput-boolean v0, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->d:Z
.line 50
iget v1, p2, Lsg/bigo/live/support64/component/pk/a/d;->f:I
const/4 v2, 0x1
if-nez v1, :cond_45
if-eqz p1, :cond_1d
.line 52
iget-object p1, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->e:Ljava/util/List;
invoke-interface {p1}, Ljava/util/List;->isEmpty()Z
move-result p1
if-nez p1, :cond_17
.line 53
iget-object p1, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->e:Ljava/util/List;
invoke-interface {p1}, Ljava/util/List;->clear()V
.line 55
:cond_17
iput v0, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->f:I
const-wide/16 v3, 0x0
.line 56
iput-wide v3, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->g:J
.line 58
:cond_1d
iget-object p1, p2, Lsg/bigo/live/support64/component/pk/a/d;->b:Ljava/util/List;
invoke-interface {p1}, Ljava/util/List;->isEmpty()Z
move-result p1
if-nez p1, :cond_2c
.line 59
iget-object p1, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->e:Ljava/util/List;
iget-object v1, p2, Lsg/bigo/live/support64/component/pk/a/d;->b:Ljava/util/List;
invoke-interface {p1, v1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
.line 61
:cond_2c
iget-object p1, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->a:Lsg/bigo/core/mvp/a/a;
if-eqz p1, :cond_60
.line 62
iget-object p1, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->a:Lsg/bigo/core/mvp/a/a;
check-cast p1, Lsg/bigo/live/support64/component/pk/view/f;
iget-object v1, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->e:Ljava/util/List;
iget-object p2, p2, Lsg/bigo/live/support64/component/pk/a/d;->b:Ljava/util/List;
invoke-interface {p2}, Ljava/util/List;->size()I
move-result p2
const/16 v3, 0xa
if-ge p2, v3, :cond_41
const/4 v0, 0x1
:cond_41
invoke-interface {p1, v1, v0}, Lsg/bigo/live/support64/component/pk/view/f;->a(Ljava/util/List;Z)V
return-void
.line 64
:cond_45
iget p1, p2, Lsg/bigo/live/support64/component/pk/a/d;->f:I
if-ne p1, v2, :cond_55
.line 65
iget-object p1, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->a:Lsg/bigo/core/mvp/a/a;
if-eqz p1, :cond_60
.line 66
iget-object p1, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->a:Lsg/bigo/core/mvp/a/a;
check-cast p1, Lsg/bigo/live/support64/component/pk/view/f;
invoke-interface {p1}, Lsg/bigo/live/support64/component/pk/view/f;->a()V
return-void
.line 69
:cond_55
iget-object p1, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->a:Lsg/bigo/core/mvp/a/a;
if-eqz p1, :cond_60
.line 70
iget-object p1, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->a:Lsg/bigo/core/mvp/a/a;
check-cast p1, Lsg/bigo/live/support64/component/pk/view/f;
invoke-interface {p1, v0}, Lsg/bigo/live/support64/component/pk/view/f;->a(Z)V
:cond_60
return-void
.end method
.method public static synthetic lambda$DKDH4w9Zjb4H0s1o4Ji1RkfdRVM(Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;ZLsg/bigo/live/support64/component/pk/a/d;)V
.registers 3
invoke-direct {p0, p1, p2}, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->a(ZLsg/bigo/live/support64/component/pk/a/d;)V
return-void
.end method
.method public static synthetic lambda$HOlJrEx9RgvcQs-MM7OeDNUTyd4(Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;JLjava/lang/Throwable;)V
.registers 4
invoke-direct {p0, p1, p2, p3}, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->a(JLjava/lang/Throwable;)V
return-void
.end method
.method public static synthetic lambda$g-9cK-Rls9PFn6cjRX8_X5A6_3U(Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;Ljava/lang/Throwable;)V
.registers 2
invoke-direct {p0, p1}, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->a(Ljava/lang/Throwable;)V
return-void
.end method
.method public static synthetic lambda$k26YecW5CUQ1L4zaGXnpnMbNjuQ(Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;JJLsg/bigo/live/support64/component/pk/a/b;)V
.registers 6
invoke-direct/range {p0 .. p5}, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->a(JJLsg/bigo/live/support64/component/pk/a/b;)V
return-void
.end method
# virtual methods
.method public final a(JJ)V
.registers 13
.line 85
iget-object v0, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->b:Lsg/bigo/core/mvp/mode/a;
check-cast v0, Lsg/bigo/live/support64/component/pk/model/c;
invoke-interface {v0, p1, p2, p3, p4}, Lsg/bigo/live/support64/component/pk/model/c;->a(JJ)Lrx/c;
move-result-object v0
.line 86
invoke-static {}, Lrx/g/a;->c()Lrx/f;
move-result-object v1
invoke-virtual {v0, v1}, Lrx/c;->b(Lrx/f;)Lrx/c;
move-result-object v0
.line 87
invoke-static {}, Lrx/a/b/a;->a()Lrx/f;
move-result-object v1
invoke-virtual {v0, v1}, Lrx/c;->a(Lrx/f;)Lrx/c;
move-result-object v0
new-instance v7, Lsg/bigo/live/support64/component/pk/presenter/-$$Lambda$PkFollowUserPresenter$k26YecW5CUQ1L4zaGXnpnMbNjuQ;
move-object v1, v7
move-object v2, p0
move-wide v3, p1
move-wide v5, p3
invoke-direct/range {v1 .. v6}, Lsg/bigo/live/support64/component/pk/presenter/-$$Lambda$PkFollowUserPresenter$k26YecW5CUQ1L4zaGXnpnMbNjuQ;-><init>(Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;JJ)V
new-instance p1, Lsg/bigo/live/support64/component/pk/presenter/-$$Lambda$PkFollowUserPresenter$HOlJrEx9RgvcQs-MM7OeDNUTyd4;
invoke-direct {p1, p0, p3, p4}, Lsg/bigo/live/support64/component/pk/presenter/-$$Lambda$PkFollowUserPresenter$HOlJrEx9RgvcQs-MM7OeDNUTyd4;-><init>(Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;J)V
.line 88
invoke-virtual {v0, v7, p1}, Lrx/c;->a(Lrx/b/b;Lrx/b/b;)Lrx/j;
return-void
.end method
.method public final a(Z)V
.registers 10
.line 37
iget-boolean v0, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->d:Z
if-eqz v0, :cond_5
return-void
:cond_5
const/4 v0, 0x1
.line 41
iput-boolean v0, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->d:Z
const/4 v0, 0x0
if-eqz p1, :cond_d
const/4 v3, 0x0
goto :goto_14
.line 42
:cond_d
iget-object v1, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->e:Ljava/util/List;
invoke-interface {v1}, Ljava/util/List;->size()I
move-result v1
move v3, v1
:goto_14
if-eqz p1, :cond_18
const/4 v5, 0x0
goto :goto_1b
.line 43
:cond_18
iget v0, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->f:I
move v5, v0
:goto_1b
if-eqz p1, :cond_20
const-wide/16 v0, 0x0
goto :goto_22
.line 44
:cond_20
iget-wide v0, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->g:J
:goto_22
move-wide v6, v0
.line 45
iget-object v0, p0, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;->b:Lsg/bigo/core/mvp/mode/a;
move-object v2, v0
check-cast v2, Lsg/bigo/live/support64/component/pk/model/c;
move v4, p1
invoke-interface/range {v2 .. v7}, Lsg/bigo/live/support64/component/pk/model/c;->a(IZIJ)Lrx/c;
move-result-object v0
.line 46
invoke-static {}, Lrx/g/a;->c()Lrx/f;
move-result-object v1
invoke-virtual {v0, v1}, Lrx/c;->b(Lrx/f;)Lrx/c;
move-result-object v0
.line 47
invoke-static {}, Lrx/a/b/a;->a()Lrx/f;
move-result-object v1
invoke-virtual {v0, v1}, Lrx/c;->a(Lrx/f;)Lrx/c;
move-result-object v0
new-instance v1, Lsg/bigo/live/support64/component/pk/presenter/-$$Lambda$PkFollowUserPresenter$DKDH4w9Zjb4H0s1o4Ji1RkfdRVM;
invoke-direct {v1, p0, p1}, Lsg/bigo/live/support64/component/pk/presenter/-$$Lambda$PkFollowUserPresenter$DKDH4w9Zjb4H0s1o4Ji1RkfdRVM;-><init>(Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;Z)V
new-instance p1, Lsg/bigo/live/support64/component/pk/presenter/-$$Lambda$PkFollowUserPresenter$g-9cK-Rls9PFn6cjRX8_X5A6_3U;
invoke-direct {p1, p0}, Lsg/bigo/live/support64/component/pk/presenter/-$$Lambda$PkFollowUserPresenter$g-9cK-Rls9PFn6cjRX8_X5A6_3U;-><init>(Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;)V
.line 48
invoke-virtual {v0, v1, p1}, Lrx/c;->a(Lrx/b/b;Lrx/b/b;)Lrx/j;
return-void
.end method