649 lines
20 KiB
Smali
649 lines
20 KiB
Smali
.class public abstract Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;
|
|
.super Lcom/moji/newliveview/base/BaseLiveViewFragment;
|
|
.source "UserCenterBaseFragment.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Lcom/moji/newliveview/base/BaseLiveViewFragment;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field protected h:J
|
|
|
|
.field protected i:Landroid/view/View;
|
|
|
|
.field protected j:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
.field public k:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;
|
|
|
|
.field public l:Ljava/lang/Object;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"TT;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field protected m:Lcom/moji/swiperefreshlayout/SwipeRefreshLayout;
|
|
|
|
.field protected n:Z
|
|
|
|
.field protected o:Lcom/moji/newliveview/dynamic/FooterCell;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 34
|
|
invoke-direct {p0}, Lcom/moji/newliveview/base/BaseLiveViewFragment;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic a(Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;)Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;
|
|
.locals 0
|
|
|
|
.line 34
|
|
iget-object p0, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->d:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static synthetic b(Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;)Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;
|
|
.locals 0
|
|
|
|
.line 34
|
|
iget-object p0, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->d:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static synthetic c(Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;)Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;
|
|
.locals 0
|
|
|
|
.line 34
|
|
iget-object p0, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->d:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method protected a(Ljava/util/ArrayList;)Ljava/util/ArrayList;
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/ArrayList<",
|
|
"Lcom/moji/http/snsforum/entity/UserPicture;",
|
|
">;)",
|
|
"Ljava/util/ArrayList<",
|
|
"Lcom/moji/http/snsforum/entity/ThumbPictureItem;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 228
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
.line 229
|
|
invoke-virtual {p1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_0
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Lcom/moji/http/snsforum/entity/IPicture;
|
|
|
|
.line 230
|
|
new-instance v2, Lcom/moji/http/snsforum/entity/ThumbPictureItem;
|
|
|
|
invoke-direct {v2}, Lcom/moji/http/snsforum/entity/ThumbPictureItem;-><init>()V
|
|
|
|
.line 231
|
|
invoke-interface {v1}, Lcom/moji/http/snsforum/entity/IPicture;->id()J
|
|
|
|
move-result-wide v3
|
|
|
|
iput-wide v3, v2, Lcom/moji/http/snsforum/entity/ThumbPictureItem;->id:J
|
|
|
|
.line 232
|
|
invoke-interface {v1}, Lcom/moji/http/snsforum/entity/IPicture;->url()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
iput-object v3, v2, Lcom/moji/http/snsforum/entity/ThumbPictureItem;->url:Ljava/lang/String;
|
|
|
|
.line 233
|
|
invoke-interface {v1}, Lcom/moji/http/snsforum/entity/IPicture;->width()I
|
|
|
|
move-result v3
|
|
|
|
iput v3, v2, Lcom/moji/http/snsforum/entity/ThumbPictureItem;->width:I
|
|
|
|
.line 234
|
|
invoke-interface {v1}, Lcom/moji/http/snsforum/entity/IPicture;->height()I
|
|
|
|
move-result v1
|
|
|
|
iput v1, v2, Lcom/moji/http/snsforum/entity/ThumbPictureItem;->height:I
|
|
|
|
.line 235
|
|
invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method protected a(ILjava/util/ArrayList;)V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(I",
|
|
"Ljava/util/ArrayList<",
|
|
"Lcom/moji/http/snsforum/entity/ThumbPictureItem;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 241
|
|
new-instance v0, Landroid/content/Intent;
|
|
|
|
invoke-virtual {p0}, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;
|
|
|
|
move-result-object v1
|
|
|
|
const-class v2, Lcom/moji/newliveview/detail/PictureDetailActivity;
|
|
|
|
invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
|
|
|
|
.line 242
|
|
new-instance v1, Landroid/os/Bundle;
|
|
|
|
const/4 v2, 0x5
|
|
|
|
invoke-direct {v1, v2}, Landroid/os/Bundle;-><init>(I)V
|
|
|
|
const-string v2, "extra_data_thumb_picture_list"
|
|
|
|
.line 243
|
|
invoke-virtual {v1, v2, p2}, Landroid/os/Bundle;->putParcelableArrayList(Ljava/lang/String;Ljava/util/ArrayList;)V
|
|
|
|
const-string p2, "extra_data_target_position"
|
|
|
|
.line 244
|
|
invoke-virtual {v1, p2, p1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
|
|
|
|
.line 245
|
|
invoke-virtual {v0, v1}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;
|
|
|
|
.line 246
|
|
invoke-virtual {p0}, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, v0}, Landroid/support/v4/app/FragmentActivity;->startActivity(Landroid/content/Intent;)V
|
|
|
|
.line 247
|
|
invoke-virtual {p0}, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;
|
|
|
|
move-result-object p1
|
|
|
|
sget p2, Lcom/moji/user/R$anim;->activity_open_right_in:I
|
|
|
|
sget v0, Lcom/moji/user/R$anim;->activity_open_right_out:I
|
|
|
|
invoke-virtual {p1, p2, v0}, Landroid/support/v4/app/FragmentActivity;->overridePendingTransition(II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public abstract a(Z)V
|
|
.end method
|
|
|
|
.method protected a(ZZILjava/lang/String;Ljava/lang/String;)V
|
|
.locals 6
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 196
|
|
iget-object p1, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->k:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;
|
|
|
|
invoke-virtual {p1}, Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;->a()I
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
.line 197
|
|
iget-object v0, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->d:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move v1, p3
|
|
|
|
move-object v2, p4
|
|
|
|
move-object v3, p5
|
|
|
|
invoke-virtual/range {v0 .. v5}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/view/View$OnClickListener;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 199
|
|
:cond_0
|
|
iget-object p1, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->d:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;
|
|
|
|
invoke-virtual {p1}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->G()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
if-eqz p2, :cond_2
|
|
|
|
.line 203
|
|
invoke-virtual {p0}, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->d()V
|
|
|
|
goto :goto_0
|
|
|
|
.line 205
|
|
:cond_2
|
|
iget-object p1, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->k:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;
|
|
|
|
invoke-virtual {p1}, Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;->a()I
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
iget-object p1, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->o:Lcom/moji/newliveview/dynamic/FooterCell;
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 207
|
|
iget-object p1, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->o:Lcom/moji/newliveview/dynamic/FooterCell;
|
|
|
|
const/4 p2, 0x2
|
|
|
|
invoke-virtual {p1, p2}, Lcom/moji/newliveview/dynamic/FooterCell;->a(I)V
|
|
|
|
.line 208
|
|
iget-object p1, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->k:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;
|
|
|
|
iget-object p2, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->k:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;
|
|
|
|
invoke-virtual {p2}, Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;->a()I
|
|
|
|
move-result p2
|
|
|
|
invoke-virtual {p1, p2}, Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;->c(I)V
|
|
|
|
:cond_3
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method protected c(Z)V
|
|
.locals 1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 187
|
|
iget-object p1, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->o:Lcom/moji/newliveview/dynamic/FooterCell;
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
.line 188
|
|
new-instance p1, Lcom/moji/newliveview/dynamic/FooterCell;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
invoke-direct {p1, v0}, Lcom/moji/newliveview/dynamic/FooterCell;-><init>(I)V
|
|
|
|
iput-object p1, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->o:Lcom/moji/newliveview/dynamic/FooterCell;
|
|
|
|
.line 190
|
|
:cond_0
|
|
iget-object p1, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->k:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;
|
|
|
|
iget-object v0, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->o:Lcom/moji/newliveview/dynamic/FooterCell;
|
|
|
|
invoke-virtual {p1, v0}, Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;->a(Lcom/moji/newliveview/dynamic/base/Cell;)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method protected d(Z)V
|
|
.locals 1
|
|
|
|
.line 215
|
|
iput-boolean p1, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->n:Z
|
|
|
|
.line 216
|
|
iget-object v0, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->o:Lcom/moji/newliveview/dynamic/FooterCell;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 220
|
|
iget-object p1, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->o:Lcom/moji/newliveview/dynamic/FooterCell;
|
|
|
|
const/4 v0, 0x4
|
|
|
|
invoke-virtual {p1, v0}, Lcom/moji/newliveview/dynamic/FooterCell;->a(I)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 222
|
|
:cond_1
|
|
iget-object p1, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->o:Lcom/moji/newliveview/dynamic/FooterCell;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
invoke-virtual {p1, v0}, Lcom/moji/newliveview/dynamic/FooterCell;->a(I)V
|
|
|
|
.line 224
|
|
:goto_0
|
|
iget-object p1, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->k:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;
|
|
|
|
invoke-virtual {p1}, Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;->c()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public abstract e()I
|
|
.end method
|
|
|
|
.method public g()Z
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public abstract h()Ljava/lang/Object;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()TT;"
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public j()Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
.locals 2
|
|
|
|
.line 182
|
|
new-instance v0, Landroid/support/v7/widget/LinearLayoutManager;
|
|
|
|
invoke-virtual {p0}, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Landroid/support/v7/widget/LinearLayoutManager;-><init>(Landroid/content/Context;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public k()Z
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public onActivityCreated(Landroid/os/Bundle;)V
|
|
.locals 0
|
|
.param p1 # Landroid/os/Bundle;
|
|
.annotation build Landroid/support/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 67
|
|
invoke-super {p0, p1}, Lcom/moji/newliveview/base/BaseLiveViewFragment;->onActivityCreated(Landroid/os/Bundle;)V
|
|
|
|
.line 68
|
|
invoke-virtual {p0}, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->w_()V
|
|
|
|
.line 69
|
|
invoke-virtual {p0}, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->h()Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->l:Ljava/lang/Object;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 70
|
|
invoke-virtual {p0, p1}, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->a(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onCreate(Landroid/os/Bundle;)V
|
|
.locals 0
|
|
|
|
.line 53
|
|
invoke-super {p0, p1}, Lcom/moji/newliveview/base/BaseLiveViewFragment;->onCreate(Landroid/os/Bundle;)V
|
|
|
|
.line 54
|
|
invoke-virtual {p0}, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->k()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 55
|
|
new-instance p1, Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;
|
|
|
|
invoke-direct {p1}, Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->k:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
|
|
.locals 1
|
|
.param p2 # Landroid/view/ViewGroup;
|
|
.annotation build Landroid/support/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Landroid/os/Bundle;
|
|
.annotation build Landroid/support/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 61
|
|
invoke-virtual {p0}, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->e()I
|
|
|
|
move-result p3
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {p1, p3, p2, v0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->i:Landroid/view/View;
|
|
|
|
.line 62
|
|
iget-object p1, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->i:Landroid/view/View;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public w_()V
|
|
.locals 4
|
|
|
|
.line 74
|
|
invoke-virtual {p0}, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->g()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 75
|
|
iget-object v0, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->i:Landroid/view/View;
|
|
|
|
sget v1, Lcom/moji/user/R$id;->pull_fresh:I
|
|
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/moji/swiperefreshlayout/SwipeRefreshLayout;
|
|
|
|
iput-object v0, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->m:Lcom/moji/swiperefreshlayout/SwipeRefreshLayout;
|
|
|
|
.line 76
|
|
iget-object v0, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->m:Lcom/moji/swiperefreshlayout/SwipeRefreshLayout;
|
|
|
|
new-instance v1, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment$1;
|
|
|
|
invoke-direct {v1, p0}, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment$1;-><init>(Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/moji/swiperefreshlayout/SwipeRefreshLayout;->setOnRefreshListener(Lcom/moji/swiperefreshlayout/SwipeRefreshLayout$OnRefreshListener;)V
|
|
|
|
.line 83
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->i:Landroid/view/View;
|
|
|
|
sget v1, Lcom/moji/user/R$id;->status_layout:I
|
|
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;
|
|
|
|
iput-object v0, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->d:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;
|
|
|
|
.line 84
|
|
iget-object v0, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->d:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;
|
|
|
|
invoke-virtual {v0}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->F()V
|
|
|
|
.line 85
|
|
iget-object v0, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->d:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;
|
|
|
|
new-instance v1, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment$2;
|
|
|
|
invoke-direct {v1, p0}, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment$2;-><init>(Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->setOnRetryClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
.line 92
|
|
iget-object v0, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->i:Landroid/view/View;
|
|
|
|
sget v1, Lcom/moji/user/R$id;->rv:I
|
|
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iput-object v0, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->j:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
.line 93
|
|
invoke-virtual {p0}, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->j()Landroid/support/v7/widget/RecyclerView$LayoutManager;
|
|
|
|
move-result-object v0
|
|
|
|
.line 94
|
|
iget-object v1, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->j:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
invoke-virtual {v1, v0}, Landroid/support/v7/widget/RecyclerView;->setLayoutManager(Landroid/support/v7/widget/RecyclerView$LayoutManager;)V
|
|
|
|
.line 95
|
|
invoke-virtual {p0}, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->k()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 96
|
|
iget-object v0, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->j:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
iget-object v1, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->k:Lcom/moji/newliveview/dynamic/base/CustomRecyclerAdapter;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView;->setAdapter(Landroid/support/v7/widget/RecyclerView$Adapter;)V
|
|
|
|
.line 98
|
|
:cond_1
|
|
iget-object v0, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->j:Landroid/support/v7/widget/RecyclerView;
|
|
|
|
new-instance v1, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment$3;
|
|
|
|
invoke-direct {v1, p0}, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment$3;-><init>(Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;)V
|
|
|
|
invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView;->a(Landroid/support/v7/widget/RecyclerView$OnScrollListener;)V
|
|
|
|
.line 109
|
|
iget-object v0, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->d:Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;
|
|
|
|
new-instance v1, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment$4;
|
|
|
|
invoke-direct {v1, p0}, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment$4;-><init>(Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V
|
|
|
|
.line 161
|
|
invoke-virtual {p0}, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->getArguments()Landroid/os/Bundle;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
const-string v1, "user_sns_id"
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
.line 163
|
|
invoke-virtual {v0, v1, v2, v3}, Landroid/os/Bundle;->getLong(Ljava/lang/String;J)J
|
|
|
|
move-result-wide v0
|
|
|
|
iput-wide v0, p0, Lcom/moji/user/homepage/fragment/UserCenterBaseFragment;->h:J
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method protected x_()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|