BaseUserPostFragment$7.smali

.class final Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Lcom/masala/share/proto/puller/o$a;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;
.end annotation

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

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


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)V
    .registers 2

    .line 543
    iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method private static a(Ljava/util/List;)Ljava/util/List;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/masala/share/proto/VideoPost;",
            ">;)",
            "Ljava/util/List<",
            "Lcom/masala/share/proto/model/VideoSimpleItem;",
            ">;"
        }
    .end annotation

    if-nez p0, :cond_4

    const/4 p0, 0x0

    return-object p0

    .line 549
    :cond_4
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 550
    invoke-interface {p0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p0

    :goto_d
    invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_25

    invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

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

    .line 551
    new-instance v2, Lcom/masala/share/proto/model/VideoSimpleItem;

    invoke-direct {v2}, Lcom/masala/share/proto/model/VideoSimpleItem;-><init>()V

    .line 552
    invoke-virtual {v2, v1}, Lcom/masala/share/proto/model/VideoSimpleItem;->copyFromVideoPost(Lcom/masala/share/proto/VideoPost;)V

    .line 553
    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_d

    :cond_25
    return-object v0
.end method


# virtual methods
.method public final P_()V
    .registers 1

    return-void
.end method

.method public final synthetic a(Ljava/lang/Object;)V
    .registers 6

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

    .line 1609
    new-instance v0, Lcom/masala/share/proto/model/VideoSimpleItem;

    invoke-direct {v0}, Lcom/masala/share/proto/model/VideoSimpleItem;-><init>()V

    .line 1610
    invoke-virtual {v0, p1}, Lcom/masala/share/proto/model/VideoSimpleItem;->copyFromVideoPost(Lcom/masala/share/proto/VideoPost;)V

    .line 1611
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    iget-object p1, p1, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->n:Lcom/imo/android/imoim/feeds/ui/vhadapter/a;

    const/4 v1, 0x1

    new-array v2, v1, [Lcom/masala/share/proto/model/VideoSimpleItem;

    const/4 v3, 0x0

    aput-object v0, v2, v3

    invoke-virtual {p1, v2}, Lcom/imo/android/imoim/feeds/ui/vhadapter/a;->a([Ljava/lang/Object;)V

    .line 1612
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->i(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Z

    move-result p1

    if-eqz p1, :cond_39

    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    iget-object p1, p1, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->n:Lcom/imo/android/imoim/feeds/ui/vhadapter/a;

    invoke-virtual {p1}, Lcom/imo/android/imoim/feeds/ui/vhadapter/a;->b()I

    move-result p1

    if-ne p1, v1, :cond_39

    .line 1613
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    iget-object p1, p1, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->n:Lcom/imo/android/imoim/feeds/ui/vhadapter/a;

    invoke-virtual {p1, v1}, Lcom/imo/android/imoim/feeds/ui/vhadapter/a;->a(I)V

    .line 1614
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->h(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Z

    .line 1615
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    iput-boolean v3, p1, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->h:Z

    .line 1617
    :cond_39
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    invoke-virtual {p1}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->h()V

    return-void
.end method

.method public final synthetic a(Ljava/lang/Object;I)V
    .registers 5

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

    .line 2596
    new-instance v0, Lcom/masala/share/proto/model/VideoSimpleItem;

    invoke-direct {v0}, Lcom/masala/share/proto/model/VideoSimpleItem;-><init>()V

    .line 2597
    invoke-virtual {v0, p1}, Lcom/masala/share/proto/model/VideoSimpleItem;->copyFromVideoPost(Lcom/masala/share/proto/VideoPost;)V

    .line 2598
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    iget-object p1, p1, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->n:Lcom/imo/android/imoim/feeds/ui/vhadapter/a;

    invoke-virtual {p1}, Lcom/imo/android/imoim/feeds/ui/vhadapter/a;->b()I

    move-result p1

    if-ne p2, p1, :cond_2e

    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->i(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Z

    move-result p1

    if-eqz p1, :cond_2e

    .line 2599
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    iget-object p1, p1, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->n:Lcom/imo/android/imoim/feeds/ui/vhadapter/a;

    const/4 v1, 0x1

    invoke-virtual {p1, v1}, Lcom/imo/android/imoim/feeds/ui/vhadapter/a;->a(I)V

    .line 2600
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->h(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Z

    .line 2601
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    const/4 v1, 0x0

    iput-boolean v1, p1, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->h:Z

    .line 2603
    :cond_2e
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    iget-object p1, p1, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->n:Lcom/imo/android/imoim/feeds/ui/vhadapter/a;

    invoke-virtual {p1, p2, v0}, Lcom/imo/android/imoim/feeds/ui/vhadapter/a;->a(ILjava/lang/Object;)V

    .line 2604
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    invoke-virtual {p1}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->h()V

    return-void
.end method

.method public final varargs a(Ljava/util/List;[Lcom/imo/android/imoim/feeds/ui/vhadapter/b;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/masala/share/proto/VideoPost;",
            ">;[",
            "Lcom/imo/android/imoim/feeds/ui/vhadapter/b;",
            ")V"
        }
    .end annotation

    return-void
.end method

.method public final a(ZLjava/util/List;)V
    .registers 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(Z",
            "Ljava/util/List<",
            "Lcom/masala/share/proto/VideoPost;",
            ">;)V"
        }
    .end annotation

    .line 565
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    iget-object v0, v0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->j:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$a;

    iget v0, v0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$a;->b:I

    const/4 v1, 0x1

    const/16 v2, 0x18

    if-ne v0, v2, :cond_2b

    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    iget v0, v0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->c:I

    invoke-static {v0}, Lcom/masala/share/utils/e/b;->c(I)Z

    move-result v0

    if-eqz v0, :cond_2b

    .line 566
    invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_19
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_2b

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

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

    .line 567
    iget-wide v2, v2, Lcom/masala/share/proto/VideoPost;->a:J

    invoke-static {v2, v3, v1}, Lcom/masala/share/b/b;->a(JZ)Z

    goto :goto_19

    :cond_2b
    const/4 v0, 0x0

    if-eqz p1, :cond_4b

    .line 571
    iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    iget-object p2, p2, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->n:Lcom/imo/android/imoim/feeds/ui/vhadapter/a;

    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    iget-object v1, v1, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->l:Lcom/masala/share/proto/puller/h;

    invoke-virtual {v1}, Lcom/masala/share/proto/puller/h;->g()Ljava/util/List;

    move-result-object v1

    invoke-static {v1}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a(Ljava/util/List;)Ljava/util/List;

    move-result-object v1

    invoke-virtual {p2, v1}, Lcom/imo/android/imoim/feeds/ui/vhadapter/a;->a(Ljava/util/List;)V

    .line 572
    iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    invoke-static {p2}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->h(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Z

    .line 573
    iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    iput-boolean v0, p2, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->h:Z

    goto :goto_74

    .line 575
    :cond_4b
    iget-object v2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    invoke-static {v2}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->i(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Z

    move-result v2

    if-eqz v2, :cond_69

    invoke-interface {p2}, Ljava/util/List;->size()I

    move-result v2

    if-lez v2, :cond_69

    .line 576
    iget-object v2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    iget-object v2, v2, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->n:Lcom/imo/android/imoim/feeds/ui/vhadapter/a;

    invoke-virtual {v2, v1}, Lcom/imo/android/imoim/feeds/ui/vhadapter/a;->a(I)V

    .line 577
    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    invoke-static {v1}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->h(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Z

    .line 578
    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    iput-boolean v0, v1, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->h:Z

    .line 580
    :cond_69
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    iget-object v0, v0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->n:Lcom/imo/android/imoim/feeds/ui/vhadapter/a;

    invoke-static {p2}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a(Ljava/util/List;)Ljava/util/List;

    move-result-object p2

    invoke-virtual {v0, p2}, Lcom/imo/android/imoim/feeds/ui/vhadapter/a;->b(Ljava/util/List;)V

    .line 582
    :goto_74
    iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    invoke-static {p2}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->e(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Lcom/masala/share/utils/b/f;

    move-result-object p2

    if-eqz p2, :cond_85

    .line 583
    iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    invoke-static {p2}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->e(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Lcom/masala/share/utils/b/f;

    move-result-object p2

    const/4 v0, 0x0

    .line 1072
    iput-object v0, p2, Lcom/masala/share/utils/b/f;->e:Ljava/util/List;

    :cond_85
    if-eqz p1, :cond_a0

    .line 585
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->f(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Lcom/masala/share/utils/b/a;

    move-result-object p1

    if-eqz p1, :cond_a0

    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    invoke-virtual {p1}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->getUserVisibleHint()Z

    move-result p1

    if-eqz p1, :cond_a0

    .line 586
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->f(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Lcom/masala/share/utils/b/a;

    move-result-object p1

    invoke-virtual {p1}, Lcom/masala/share/utils/b/a;->b()V

    :cond_a0
    return-void
.end method