UserRecentVideosBridge$RecentVideosViewHolder.smali
.class public final Lcom/imo/android/imoim/feeds/ui/recommend/brige/UserRecentVideosBridge$RecentVideosViewHolder;
.super Lcom/imo/android/imoim/feeds/ui/vhadapter/VHolder;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/imo/android/imoim/feeds/ui/recommend/brige/UserRecentVideosBridge;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x11
name = "RecentVideosViewHolder"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/imo/android/imoim/feeds/ui/vhadapter/VHolder<",
"Lcom/masala/share/proto/model/SimpleVideoPost;",
">;"
}
.end annotation
# instance fields
.field final synthetic a:Lcom/imo/android/imoim/feeds/ui/recommend/brige/UserRecentVideosBridge;
.field private final b:Lcom/imo/android/imoim/feeds/ui/views/SimpleDraweeCompatView;
.field private c:Lcom/masala/share/proto/model/SimpleVideoPost;
.field private d:I
# direct methods
.method public constructor <init>(Lcom/imo/android/imoim/feeds/ui/recommend/brige/UserRecentVideosBridge;Landroid/view/View;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/view/View;",
")V"
}
.end annotation
.line 22
iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/UserRecentVideosBridge$RecentVideosViewHolder;->a:Lcom/imo/android/imoim/feeds/ui/recommend/brige/UserRecentVideosBridge;
invoke-direct {p0, p2}, Lcom/imo/android/imoim/feeds/ui/vhadapter/VHolder;-><init>(Landroid/view/View;)V
if-nez p2, :cond_a
.line 23
invoke-static {}, Lkotlin/f/b/o;->a()V
:cond_a
const p1, 0x7e0800b0
invoke-virtual {p2, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object p1
const-string p2, "itemView!!.findViewById(R.id.iv_cover)"
invoke-static {p1, p2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p1, Lcom/imo/android/imoim/feeds/ui/views/SimpleDraweeCompatView;
iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/UserRecentVideosBridge$RecentVideosViewHolder;->b:Lcom/imo/android/imoim/feeds/ui/views/SimpleDraweeCompatView;
return-void
.end method
# virtual methods
.method public final synthetic a(ILjava/lang/Object;)V
.registers 3
.line 22
check-cast p2, Lcom/masala/share/proto/model/SimpleVideoPost;
.line 1028
invoke-super {p0, p1, p2}, Lcom/imo/android/imoim/feeds/ui/vhadapter/VHolder;->a(ILjava/lang/Object;)V
.line 1029
iput-object p2, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/UserRecentVideosBridge$RecentVideosViewHolder;->c:Lcom/masala/share/proto/model/SimpleVideoPost;
.line 1030
iput p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/UserRecentVideosBridge$RecentVideosViewHolder;->d:I
.line 1031
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/UserRecentVideosBridge$RecentVideosViewHolder;->b:Lcom/imo/android/imoim/feeds/ui/views/SimpleDraweeCompatView;
if-eqz p2, :cond_10
iget-object p2, p2, Lcom/masala/share/proto/model/SimpleVideoPost;->i:Ljava/lang/String;
goto :goto_11
:cond_10
const/4 p2, 0x0
:goto_11
invoke-virtual {p1, p2}, Lcom/imo/android/imoim/feeds/ui/views/SimpleDraweeCompatView;->setImageURI(Ljava/lang/String;)V
.line 1032
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/UserRecentVideosBridge$RecentVideosViewHolder;->b:Lcom/imo/android/imoim/feeds/ui/views/SimpleDraweeCompatView;
move-object p2, p0
check-cast p2, Landroid/view/View$OnClickListener;
invoke-virtual {p1, p2}, Lcom/imo/android/imoim/feeds/ui/views/SimpleDraweeCompatView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
return-void
.end method
.method public final onClick(Landroid/view/View;)V
.registers 9
.line 36
invoke-super {p0, p1}, Lcom/imo/android/imoim/feeds/ui/vhadapter/VHolder;->onClick(Landroid/view/View;)V
.line 37
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/UserRecentVideosBridge$RecentVideosViewHolder;->c:Lcom/masala/share/proto/model/SimpleVideoPost;
if-eqz p1, :cond_bd
.line 1055
invoke-static {}, Lcom/imo/android/imoim/feeds/ui/detail/data/d;->a()I
move-result p1
const/16 v0, 0x17
invoke-static {p1, v0}, Lcom/imo/android/imoim/feeds/ui/detail/data/d;->a(II)Lcom/imo/android/imoim/feeds/ui/detail/data/d;
move-result-object p1
.line 1064
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
.line 1065
iget-object v2, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/UserRecentVideosBridge$RecentVideosViewHolder;->a:Lcom/imo/android/imoim/feeds/ui/recommend/brige/UserRecentVideosBridge;
.line 2020
iget-object v2, v2, Lcom/imo/android/imoim/feeds/ui/recommend/brige/UserRecentVideosBridge;->f:Lcom/imo/android/imoim/feeds/ui/vhadapter/a;
const-string v3, "mDataManager"
.line 1065
invoke-static {v2, v3}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
.line 2248
iget-object v2, v2, Lcom/imo/android/imoim/feeds/ui/vhadapter/a;->a:Ljava/util/List;
.line 1065
invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v2
:cond_25
:goto_25
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_49
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v3
.line 1066
instance-of v4, v3, Lcom/masala/share/proto/model/SimpleVideoPost;
if-eqz v4, :cond_25
.line 1067
new-instance v4, Lcom/imo/android/imoim/feeds/ui/detail/data/VideoDetailData;
invoke-direct {v4}, Lcom/imo/android/imoim/feeds/ui/detail/data/VideoDetailData;-><init>()V
.line 1068
check-cast v3, Lcom/masala/share/proto/model/SimpleVideoPost;
iget-wide v5, v3, Lcom/masala/share/proto/model/SimpleVideoPost;->a:J
iput-wide v5, v4, Lcom/imo/android/imoim/feeds/ui/detail/data/VideoDetailData;->a:J
.line 1069
iget-object v3, v3, Lcom/masala/share/proto/model/SimpleVideoPost;->h:Ljava/lang/String;
iput-object v3, v4, Lcom/imo/android/imoim/feeds/ui/detail/data/VideoDetailData;->c:Ljava/lang/String;
const/4 v3, 0x1
.line 1070
iput v3, v4, Lcom/imo/android/imoim/feeds/ui/detail/data/VideoDetailData;->y:I
.line 1071
invoke-virtual {v1, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
goto :goto_25
.line 1056
:cond_49
check-cast v1, Ljava/util/List;
invoke-virtual {p1, v1}, Lcom/imo/android/imoim/feeds/ui/detail/data/d;->a(Ljava/util/List;)V
const-string v1, "source"
.line 1058
invoke-static {p1, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
.line 3148
iget v1, p1, Lcom/imo/android/imoim/feeds/ui/detail/data/d;->a:I
.line 1058
invoke-static {v1, v0}, Lcom/masala/share/proto/puller/o;->a(II)Lcom/masala/share/proto/puller/o;
move-result-object v0
if-eqz v0, :cond_b5
check-cast v0, Lcom/masala/share/proto/puller/l;
.line 1059
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/UserRecentVideosBridge$RecentVideosViewHolder;->c:Lcom/masala/share/proto/model/SimpleVideoPost;
if-nez v1, :cond_64
invoke-static {}, Lkotlin/f/b/o;->a()V
:cond_64
iget-object v1, v1, Lcom/masala/share/proto/model/SimpleVideoPost;->b:Lcom/masala/share/uid/Uid;
invoke-virtual {v1}, Lcom/masala/share/uid/Uid;->b()I
move-result v1
.line 4029
iput v1, v0, Lcom/masala/share/proto/puller/l;->a:I
.line 39
new-instance v0, Lcom/imo/android/imoim/feeds/model/f$a;
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/UserRecentVideosBridge$RecentVideosViewHolder;->a:Lcom/imo/android/imoim/feeds/ui/recommend/brige/UserRecentVideosBridge;
.line 5020
iget-object v1, v1, Lcom/imo/android/imoim/feeds/ui/recommend/brige/UserRecentVideosBridge;->g:Landroid/content/Context;
.line 39
invoke-static {v1}, Lcom/imo/android/imoim/feeds/g/j;->a(Landroid/content/Context;)Landroid/content/Context;
move-result-object v1
invoke-direct {v0, v1}, Lcom/imo/android/imoim/feeds/model/f$a;-><init>(Landroid/content/Context;)V
const/16 v1, 0x10
.line 5200
iput v1, v0, Lcom/imo/android/imoim/feeds/model/f$a;->a:I
.line 41
iget-object v2, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/UserRecentVideosBridge$RecentVideosViewHolder;->c:Lcom/masala/share/proto/model/SimpleVideoPost;
if-nez v2, :cond_84
invoke-static {}, Lkotlin/f/b/o;->a()V
:cond_84
iget-wide v2, v2, Lcom/masala/share/proto/model/SimpleVideoPost;->a:J
.line 5235
iput-wide v2, v0, Lcom/imo/android/imoim/feeds/model/f$a;->h:J
.line 42
iget-object v2, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/UserRecentVideosBridge$RecentVideosViewHolder;->c:Lcom/masala/share/proto/model/SimpleVideoPost;
if-nez v2, :cond_8f
invoke-static {}, Lkotlin/f/b/o;->a()V
:cond_8f
iget-object v2, v2, Lcom/masala/share/proto/model/SimpleVideoPost;->h:Ljava/lang/String;
.line 5245
iput-object v2, v0, Lcom/imo/android/imoim/feeds/model/f$a;->i:Ljava/lang/String;
.line 6148
iget p1, p1, Lcom/imo/android/imoim/feeds/ui/detail/data/d;->a:I
.line 6230
iput p1, v0, Lcom/imo/android/imoim/feeds/model/f$a;->e:I
.line 44
invoke-static {v1}, Lcom/masala/share/stat/aa;->a(I)I
move-result p1
.line 6260
iput p1, v0, Lcom/imo/android/imoim/feeds/model/f$a;->k:I
.line 45
invoke-static {v1}, Lcom/masala/share/stat/c/i;->i(I)I
move-result p1
.line 7250
iput p1, v0, Lcom/imo/android/imoim/feeds/model/f$a;->j:I
.line 46
iget p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/UserRecentVideosBridge$RecentVideosViewHolder;->d:I
.line 8225
iput p1, v0, Lcom/imo/android/imoim/feeds/model/f$a;->d:I
.line 47
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/UserRecentVideosBridge$RecentVideosViewHolder;->b:Lcom/imo/android/imoim/feeds/ui/views/SimpleDraweeCompatView;
check-cast p1, Landroid/view/View;
.line 8265
iput-object p1, v0, Lcom/imo/android/imoim/feeds/model/f$a;->l:Landroid/view/View;
.line 49
invoke-virtual {v0}, Lcom/imo/android/imoim/feeds/model/f$a;->a()Lcom/imo/android/imoim/feeds/model/f;
move-result-object p1
invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/detail/utils/t;->a(Lcom/imo/android/imoim/feeds/model/f;)V
goto :goto_bd
.line 1058
:cond_b5
new-instance p1, Lkotlin/TypeCastException;
const-string v0, "null cannot be cast to non-null type com.masala.share.proto.puller.UserVideoPuller"
invoke-direct {p1, v0}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
throw p1
:cond_bd
:goto_bd
return-void
.end method