ChatPresenterImpl.smali

.class public Lsg/bigo/live/support64/component/chat/mvp/presenter/ChatPresenterImpl;
.super Lsg/bigo/core/mvp/presenter/BasePresenterImpl;
.source "SourceFile"

# interfaces
.implements Lsg/bigo/live/support64/component/chat/mvp/presenter/a;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lsg/bigo/core/mvp/presenter/BasePresenterImpl<",
        "Lsg/bigo/live/support64/component/chat/mvp/a/a;",
        "Lsg/bigo/live/support64/component/chat/mvp/model/a;",
        ">;",
        "Lsg/bigo/live/support64/component/chat/mvp/presenter/a;"
    }
.end annotation


# direct methods
.method public constructor <init>(Lsg/bigo/live/support64/component/chat/mvp/a/a;)V
    .registers 3

    .line 33
    invoke-direct {p0, p1}, Lsg/bigo/core/mvp/presenter/BasePresenterImpl;-><init>(Lsg/bigo/core/mvp/a/a;)V

    .line 34
    new-instance v0, Lsg/bigo/live/support64/component/chat/mvp/model/ChatModelImpl;

    invoke-interface {p1}, Lsg/bigo/live/support64/component/chat/mvp/a/a;->getLifecycle()Landroidx/lifecycle/Lifecycle;

    move-result-object p1

    invoke-direct {v0, p1, p0}, Lsg/bigo/live/support64/component/chat/mvp/model/ChatModelImpl;-><init>(Landroidx/lifecycle/Lifecycle;Lsg/bigo/live/support64/component/chat/mvp/presenter/a;)V

    iput-object v0, p0, Lsg/bigo/live/support64/component/chat/mvp/presenter/ChatPresenterImpl;->b:Lsg/bigo/core/mvp/mode/a;

    return-void
.end method

.method private synthetic a(Ljava/lang/String;)V
    .registers 5

    .line 43
    invoke-static {}, Lsg/bigo/live/support64/stat/k;->a()Lsg/bigo/live/support64/stat/k;

    move-result-object v0

    invoke-virtual {v0}, Lsg/bigo/live/support64/stat/k;->J()V

    .line 44
    invoke-static {}, Lsg/bigo/live/support64/stat/a;->a()Lsg/bigo/live/support64/stat/a;

    move-result-object v0

    invoke-virtual {v0}, Lsg/bigo/live/support64/stat/a;->J()V

    .line 45
    invoke-static {}, Lsg/bigo/live/support64/stat/m;->a()Lsg/bigo/live/support64/stat/m;

    move-result-object v0

    invoke-virtual {v0}, Lsg/bigo/live/support64/stat/m;->J()V

    .line 47
    new-instance v0, Lsg/bigo/live/support64/controllers/chat/f;

    invoke-direct {v0}, Lsg/bigo/live/support64/controllers/chat/f;-><init>()V

    .line 48
    iput-object p1, v0, Lsg/bigo/live/support64/controllers/chat/f;->g:Ljava/lang/String;

    const/4 p1, 0x0

    .line 49
    iput p1, v0, Lsg/bigo/live/support64/controllers/chat/f;->a:I

    const-wide/16 v1, 0x0

    .line 50
    iput-wide v1, v0, Lsg/bigo/live/support64/controllers/chat/f;->c:J

    .line 51
    iput p1, v0, Lsg/bigo/live/support64/controllers/chat/f;->d:I

    const-string p1, ""

    .line 52
    iput-object p1, v0, Lsg/bigo/live/support64/controllers/chat/f;->f:Ljava/lang/String;

    .line 54
    iget-object p1, p0, Lsg/bigo/live/support64/component/chat/mvp/presenter/ChatPresenterImpl;->a:Lsg/bigo/core/mvp/a/a;

    if-eqz p1, :cond_34

    .line 55
    iget-object p1, p0, Lsg/bigo/live/support64/component/chat/mvp/presenter/ChatPresenterImpl;->a:Lsg/bigo/core/mvp/a/a;

    check-cast p1, Lsg/bigo/live/support64/component/chat/mvp/a/a;

    invoke-interface {p1, v0}, Lsg/bigo/live/support64/component/chat/mvp/a/a;->h(Lsg/bigo/live/support64/controllers/chat/f;)V

    :cond_34
    return-void
.end method

.method static synthetic a(Lsg/bigo/live/support64/component/chat/mvp/presenter/ChatPresenterImpl;Ljava/lang/String;)V
    .registers 3

    .line 3039
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_e

    .line 3042
    new-instance v0, Lsg/bigo/live/support64/component/chat/mvp/presenter/-$$Lambda$ChatPresenterImpl$SNuZTwB7MkRZlM-c75Z5oLewni4;

    invoke-direct {v0, p0, p1}, Lsg/bigo/live/support64/component/chat/mvp/presenter/-$$Lambda$ChatPresenterImpl$SNuZTwB7MkRZlM-c75Z5oLewni4;-><init>(Lsg/bigo/live/support64/component/chat/mvp/presenter/ChatPresenterImpl;Ljava/lang/String;)V

    invoke-static {v0}, Lsg/bigo/common/ac;->a(Ljava/lang/Runnable;)V

    :cond_e
    return-void
.end method

.method private synthetic b(Ljava/util/List;)V
    .registers 3

    .line 117
    iget-object v0, p0, Lsg/bigo/live/support64/component/chat/mvp/presenter/ChatPresenterImpl;->a:Lsg/bigo/core/mvp/a/a;

    if-eqz v0, :cond_b

    .line 118
    iget-object v0, p0, Lsg/bigo/live/support64/component/chat/mvp/presenter/ChatPresenterImpl;->a:Lsg/bigo/core/mvp/a/a;

    check-cast v0, Lsg/bigo/live/support64/component/chat/mvp/a/a;

    invoke-interface {v0, p1}, Lsg/bigo/live/support64/component/chat/mvp/a/a;->b(Ljava/util/List;)V

    :cond_b
    return-void
.end method

.method private synthetic b(Lsg/bigo/live/support64/controllers/chat/f;)V
    .registers 3

    .line 108
    iget-object v0, p0, Lsg/bigo/live/support64/component/chat/mvp/presenter/ChatPresenterImpl;->a:Lsg/bigo/core/mvp/a/a;

    if-eqz v0, :cond_b

    .line 109
    iget-object v0, p0, Lsg/bigo/live/support64/component/chat/mvp/presenter/ChatPresenterImpl;->a:Lsg/bigo/core/mvp/a/a;

    check-cast v0, Lsg/bigo/live/support64/component/chat/mvp/a/a;

    invoke-interface {v0, p1}, Lsg/bigo/live/support64/component/chat/mvp/a/a;->i(Lsg/bigo/live/support64/controllers/chat/f;)V

    :cond_b
    return-void
.end method

.method public static synthetic lambda$SNuZTwB7MkRZlM-c75Z5oLewni4(Lsg/bigo/live/support64/component/chat/mvp/presenter/ChatPresenterImpl;Ljava/lang/String;)V
    .registers 2

    invoke-direct {p0, p1}, Lsg/bigo/live/support64/component/chat/mvp/presenter/ChatPresenterImpl;->a(Ljava/lang/String;)V

    return-void
.end method

.method public static synthetic lambda$sFhjLOJva9-TWwQvX5c8OHcsV70(Lsg/bigo/live/support64/component/chat/mvp/presenter/ChatPresenterImpl;Lsg/bigo/live/support64/controllers/chat/f;)V
    .registers 2

    invoke-direct {p0, p1}, Lsg/bigo/live/support64/component/chat/mvp/presenter/ChatPresenterImpl;->b(Lsg/bigo/live/support64/controllers/chat/f;)V

    return-void
.end method

.method public static synthetic lambda$thZD4KFKDGUH--waQPTxQuZS0hg(Lsg/bigo/live/support64/component/chat/mvp/presenter/ChatPresenterImpl;Ljava/util/List;)V
    .registers 2

    invoke-direct {p0, p1}, Lsg/bigo/live/support64/component/chat/mvp/presenter/ChatPresenterImpl;->b(Ljava/util/List;)V

    return-void
.end method


# virtual methods
.method public final a()V
    .registers 3

    .line 62
    iget-object v0, p0, Lsg/bigo/live/support64/component/chat/mvp/presenter/ChatPresenterImpl;->b:Lsg/bigo/core/mvp/mode/a;

    if-eqz v0, :cond_14

    .line 63
    iget-object v0, p0, Lsg/bigo/live/support64/component/chat/mvp/presenter/ChatPresenterImpl;->b:Lsg/bigo/core/mvp/mode/a;

    check-cast v0, Lsg/bigo/live/support64/component/chat/mvp/model/a;

    invoke-interface {v0}, Lsg/bigo/live/support64/component/chat/mvp/model/a;->c()Lrx/g;

    move-result-object v0

    new-instance v1, Lsg/bigo/live/support64/component/chat/mvp/presenter/ChatPresenterImpl$1;

    invoke-direct {v1, p0}, Lsg/bigo/live/support64/component/chat/mvp/presenter/ChatPresenterImpl$1;-><init>(Lsg/bigo/live/support64/component/chat/mvp/presenter/ChatPresenterImpl;)V

    invoke-virtual {v0, v1}, Lrx/g;->a(Lrx/h;)Lrx/j;

    :cond_14
    return-void
.end method

.method public final a(Ljava/util/List;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lsg/bigo/live/support64/controllers/chat/f;",
            ">;)V"
        }
    .end annotation

    .line 116
    new-instance v0, Lsg/bigo/live/support64/component/chat/mvp/presenter/-$$Lambda$ChatPresenterImpl$thZD4KFKDGUH--waQPTxQuZS0hg;

    invoke-direct {v0, p0, p1}, Lsg/bigo/live/support64/component/chat/mvp/presenter/-$$Lambda$ChatPresenterImpl$thZD4KFKDGUH--waQPTxQuZS0hg;-><init>(Lsg/bigo/live/support64/component/chat/mvp/presenter/ChatPresenterImpl;Ljava/util/List;)V

    invoke-static {v0}, Lsg/bigo/common/ac;->a(Ljava/lang/Runnable;)V

    return-void
.end method

.method public final a(Lsg/bigo/live/support64/controllers/chat/f;)V
    .registers 3

    .line 107
    new-instance v0, Lsg/bigo/live/support64/component/chat/mvp/presenter/-$$Lambda$ChatPresenterImpl$sFhjLOJva9-TWwQvX5c8OHcsV70;

    invoke-direct {v0, p0, p1}, Lsg/bigo/live/support64/component/chat/mvp/presenter/-$$Lambda$ChatPresenterImpl$sFhjLOJva9-TWwQvX5c8OHcsV70;-><init>(Lsg/bigo/live/support64/component/chat/mvp/presenter/ChatPresenterImpl;Lsg/bigo/live/support64/controllers/chat/f;)V

    invoke-static {v0}, Lsg/bigo/common/ac;->a(Ljava/lang/Runnable;)V

    return-void
.end method

.method public final a(ZZLsg/bigo/live/support64/component/chat/k;)V
    .registers 5

    if-eqz p3, :cond_18

    .line 92
    iget-object v0, p0, Lsg/bigo/live/support64/component/chat/mvp/presenter/ChatPresenterImpl;->b:Lsg/bigo/core/mvp/mode/a;

    if-nez v0, :cond_7

    goto :goto_18

    :cond_7
    if-nez p1, :cond_e

    .line 1167
    iget-boolean p1, p3, Lsg/bigo/live/support64/component/chat/k;->f:Z

    if-nez p1, :cond_e

    return-void

    :cond_e
    if-eqz p2, :cond_11

    return-void

    .line 102
    :cond_11
    iget-object p1, p0, Lsg/bigo/live/support64/component/chat/mvp/presenter/ChatPresenterImpl;->b:Lsg/bigo/core/mvp/mode/a;

    check-cast p1, Lsg/bigo/live/support64/component/chat/mvp/model/a;

    invoke-interface {p1, p3}, Lsg/bigo/live/support64/component/chat/mvp/model/a;->a(Lsg/bigo/live/support64/component/chat/k;)V

    :cond_18
    :goto_18
    return-void
.end method