ChatModelImpl.smali

.class public Lsg/bigo/live/support64/component/chat/mvp/model/ChatModelImpl;
.super Lsg/bigo/core/mvp/mode/BaseMode;
.source "SourceFile"

# interfaces
.implements Lsg/bigo/live/support64/component/chat/mvp/model/a;
.implements Lsg/bigo/live/support64/controllers/chat/e;


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


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

    .line 31
    invoke-direct {p0, p1}, Lsg/bigo/core/mvp/mode/BaseMode;-><init>(Landroidx/lifecycle/Lifecycle;)V

    .line 32
    iput-object p2, p0, Lsg/bigo/live/support64/component/chat/mvp/model/ChatModelImpl;->a:Lsg/bigo/core/mvp/presenter/a;

    return-void
.end method


# virtual methods
.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 67
    iget-object v0, p0, Lsg/bigo/live/support64/component/chat/mvp/model/ChatModelImpl;->a:Lsg/bigo/core/mvp/presenter/a;

    if-eqz v0, :cond_b

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

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

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

    :cond_b
    return-void
.end method

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

    .line 54
    invoke-virtual {p1}, Lsg/bigo/live/support64/component/chat/k;->b()Lsg/bigo/live/support64/controllers/chat/f;

    move-result-object v0

    .line 56
    invoke-static {}, Lsg/bigo/common/p;->b()Z

    move-result v1

    if-nez v1, :cond_18

    const p1, 0x7d0c013e

    const/4 v0, 0x0

    new-array v1, v0, [Ljava/lang/Object;

    .line 57
    invoke-static {p1, v1}, Lsg/bigo/mobile/android/aab/c/b;->a(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    .line 58
    invoke-static {p1, v0}, Lsg/bigo/common/ae;->a(Ljava/lang/CharSequence;I)V

    return-void

    .line 62
    :cond_18
    invoke-static {}, Lsg/bigo/live/support64/k;->e()Lsg/bigo/live/support64/controllers/chat/a;

    move-result-object v1

    .line 1163
    iget-boolean v2, p1, Lsg/bigo/live/support64/component/chat/k;->e:Z

    .line 2159
    iget-boolean p1, p1, Lsg/bigo/live/support64/component/chat/k;->d:Z

    .line 62
    invoke-virtual {v1, v0, v2, p1}, Lsg/bigo/live/support64/controllers/chat/a;->a(Lsg/bigo/live/support64/controllers/chat/f;ZZ)V

    return-void
.end method

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

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

    if-eqz v0, :cond_b

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

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

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

    :cond_b
    return-void
.end method

.method public final aP_()V
    .registers 2

    .line 37
    invoke-super {p0}, Lsg/bigo/core/mvp/mode/BaseMode;->aP_()V

    .line 38
    invoke-static {}, Lsg/bigo/live/support64/k;->e()Lsg/bigo/live/support64/controllers/chat/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lsg/bigo/live/support64/controllers/chat/a;->a(Lsg/bigo/live/support64/controllers/chat/e;)V

    return-void
.end method

.method public final b()V
    .registers 2

    .line 43
    invoke-super {p0}, Lsg/bigo/core/mvp/mode/BaseMode;->b()V

    .line 44
    invoke-static {}, Lsg/bigo/live/support64/k;->e()Lsg/bigo/live/support64/controllers/chat/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lsg/bigo/live/support64/controllers/chat/a;->b(Lsg/bigo/live/support64/controllers/chat/e;)V

    return-void
.end method

.method public final c()Lrx/g;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lrx/g<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation

    .line 49
    invoke-static {}, Lsg/bigo/live/support64/k;->e()Lsg/bigo/live/support64/controllers/chat/a;

    move-result-object v0

    invoke-virtual {v0}, Lsg/bigo/live/support64/controllers/chat/a;->f()Lrx/g;

    move-result-object v0

    return-object v0
.end method