109 lines
3.9 KiB
Smali
109 lines
3.9 KiB
Smali
.class public Lcom/moji/mjweather/feed/ChannelVideoFragment;
|
|
.super Lcom/moji/mjweather/feed/ChannelBaseFragment;
|
|
.source "ChannelVideoFragment.java"
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 21
|
|
invoke-direct {p0}, Lcom/moji/mjweather/feed/ChannelBaseFragment;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method b()V
|
|
.locals 5
|
|
|
|
.line 25
|
|
iget-object v0, p0, Lcom/moji/mjweather/feed/ChannelVideoFragment;->b:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
new-instance v1, Landroid/support/v7/widget/LinearLayoutManager;
|
|
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/feed/ChannelVideoFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;
|
|
|
|
move-result-object v2
|
|
|
|
const/4 v3, 0x1
|
|
|
|
const/4 v4, 0x0
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Landroid/support/v7/widget/LinearLayoutManager;-><init>(Landroid/content/Context;IZ)V
|
|
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView;->setLayoutManager(Landroid/support/v7/widget/RecyclerView$LayoutManager;)V
|
|
|
|
.line 26
|
|
new-instance v0, Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter;
|
|
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/feed/ChannelVideoFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;
|
|
|
|
move-result-object v1
|
|
|
|
iget-object v2, p0, Lcom/moji/mjweather/feed/ChannelVideoFragment;->f:Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0, v1, v2}, Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter;-><init>(Landroid/content/Context;Ljava/util/List;)V
|
|
|
|
iput-object v0, p0, Lcom/moji/mjweather/feed/ChannelVideoFragment;->c:Lcom/moji/mjweather/feed/adapter/BaseZakerListAdapter;
|
|
|
|
.line 27
|
|
iget-object v0, p0, Lcom/moji/mjweather/feed/ChannelVideoFragment;->b:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object v1, p0, Lcom/moji/mjweather/feed/ChannelVideoFragment;->c:Lcom/moji/mjweather/feed/adapter/BaseZakerListAdapter;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView;->setAdapter(Landroid/support/v7/widget/RecyclerView$Adapter;)V
|
|
|
|
.line 28
|
|
iget-object v0, p0, Lcom/moji/mjweather/feed/ChannelVideoFragment;->c:Lcom/moji/mjweather/feed/adapter/BaseZakerListAdapter;
|
|
|
|
check-cast v0, Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter;
|
|
|
|
new-instance v1, Lcom/moji/mjweather/feed/ChannelVideoFragment$1;
|
|
|
|
invoke-direct {v1, p0}, Lcom/moji/mjweather/feed/ChannelVideoFragment$1;-><init>(Lcom/moji/mjweather/feed/ChannelVideoFragment;)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter;->a(Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter$OnItemClickListener;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method c()V
|
|
.locals 1
|
|
|
|
.line 124
|
|
iget-object v0, p0, Lcom/moji/mjweather/feed/ChannelVideoFragment;->c:Lcom/moji/mjweather/feed/adapter/BaseZakerListAdapter;
|
|
|
|
invoke-virtual {v0}, Lcom/moji/mjweather/feed/adapter/BaseZakerListAdapter;->c()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method c(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 129
|
|
iget-object v0, p0, Lcom/moji/mjweather/feed/ChannelVideoFragment;->c:Lcom/moji/mjweather/feed/adapter/BaseZakerListAdapter;
|
|
|
|
check-cast v0, Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/moji/mjweather/feed/adapter/ChannelVideoFragmentAdapter;->a(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public updateCommentCount(Lcom/moji/mjweather/feed/event/UpdateCommentCountEvent;)V
|
|
.locals 0
|
|
|
|
.line 134
|
|
invoke-super {p0, p1}, Lcom/moji/mjweather/feed/ChannelBaseFragment;->updateCommentCount(Lcom/moji/mjweather/feed/event/UpdateCommentCountEvent;)V
|
|
|
|
.line 135
|
|
iget-object p1, p0, Lcom/moji/mjweather/feed/ChannelVideoFragment;->c:Lcom/moji/mjweather/feed/adapter/BaseZakerListAdapter;
|
|
|
|
invoke-virtual {p1}, Lcom/moji/mjweather/feed/adapter/BaseZakerListAdapter;->c()V
|
|
|
|
return-void
|
|
.end method
|