DetailLoadingComponent$b.smali

.class public final Lcom/imo/android/imoim/feeds/ui/detail/components/loading/DetailLoadingComponent$b;
.super Lcom/masala/share/proto/puller/o$b;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/imo/android/imoim/feeds/ui/detail/components/loading/DetailLoadingComponent;-><init>(Lsg/bigo/core/component/c;Lcom/masala/share/proto/puller/o;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x19
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/masala/share/proto/puller/o$b<",
        "Ljava/lang/Object;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/feeds/ui/detail/components/loading/DetailLoadingComponent;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/feeds/ui/detail/components/loading/DetailLoadingComponent;)V
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()V"
        }
    .end annotation

    .line 70
    iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/loading/DetailLoadingComponent$b;->a:Lcom/imo/android/imoim/feeds/ui/detail/components/loading/DetailLoadingComponent;

    invoke-direct {p0}, Lcom/masala/share/proto/puller/o$b;-><init>()V

    return-void
.end method


# virtual methods
.method public final a(ZLjava/util/List;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(Z",
            "Ljava/util/List<",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    const-string p1, "items"

    invoke-static {p2, p1}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    .line 72
    move-object p1, p2

    check-cast p1, Ljava/util/Collection;

    invoke-interface {p1}, Ljava/util/Collection;->isEmpty()Z

    move-result p1

    xor-int/lit8 p1, p1, 0x1

    if-eqz p1, :cond_3f

    .line 73
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/loading/DetailLoadingComponent$b;->a:Lcom/imo/android/imoim/feeds/ui/detail/components/loading/DetailLoadingComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/detail/components/loading/DetailLoadingComponent;->f(Lcom/imo/android/imoim/feeds/ui/detail/components/loading/DetailLoadingComponent;)Landroidx/lifecycle/MutableLiveData;

    move-result-object p1

    sget-object v0, Lcom/imo/android/imoim/feeds/ui/detail/components/loading/DetailLoadingComponent$a;->FINISHED:Lcom/imo/android/imoim/feeds/ui/detail/components/loading/DetailLoadingComponent$a;

    invoke-virtual {p1, v0}, Landroidx/lifecycle/MutableLiveData;->postValue(Ljava/lang/Object;)V

    .line 74
    sget-object p1, Lcom/masala/share/stat/c/c;->e:Lcom/masala/share/stat/c/c;

    invoke-static {}, Lcom/masala/share/stat/c/c;->b()V

    .line 75
    invoke-static {p2}, Lkotlin/a/k;->f(Ljava/util/List;)Ljava/lang/Object;

    move-result-object p1

    .line 76
    instance-of p2, p1, Lcom/masala/share/proto/model/VideoSimpleItem;

    if-eqz p2, :cond_32

    .line 77
    sget-object p2, Lcom/masala/share/stat/c/c;->e:Lcom/masala/share/stat/c/c;

    check-cast p1, Lcom/masala/share/proto/model/VideoSimpleItem;

    iget-wide p1, p1, Lcom/masala/share/proto/model/VideoSimpleItem;->post_id:J

    invoke-static {p1, p2}, Lcom/masala/share/stat/c/c;->a(J)V

    return-void

    .line 78
    :cond_32
    instance-of p2, p1, Lcom/masala/share/proto/VideoPost;

    if-eqz p2, :cond_3f

    .line 79
    sget-object p2, Lcom/masala/share/stat/c/c;->e:Lcom/masala/share/stat/c/c;

    check-cast p1, Lcom/masala/share/proto/VideoPost;

    iget-wide p1, p1, Lcom/masala/share/proto/VideoPost;->a:J

    invoke-static {p1, p2}, Lcom/masala/share/stat/c/c;->a(J)V

    :cond_3f
    return-void
.end method