83 lines
2.2 KiB
Smali
83 lines
2.2 KiB
Smali
.class Lcom/moji/user/message/fragment/BaseMsgFragment$3;
|
|
.super Landroid/support/v7/widget/RecyclerView$OnScrollListener;
|
|
.source "BaseMsgFragment.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/moji/user/message/fragment/BaseMsgFragment;->o()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Lcom/moji/user/message/fragment/BaseMsgFragment;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/user/message/fragment/BaseMsgFragment;)V
|
|
.locals 0
|
|
|
|
.line 127
|
|
iput-object p1, p0, Lcom/moji/user/message/fragment/BaseMsgFragment$3;->a:Lcom/moji/user/message/fragment/BaseMsgFragment;
|
|
|
|
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView$OnScrollListener;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Landroid/support/v7/widget/RecyclerView;I)V
|
|
.locals 1
|
|
|
|
.line 130
|
|
invoke-super {p0, p1, p2}, Landroid/support/v7/widget/RecyclerView$OnScrollListener;->a(Landroid/support/v7/widget/RecyclerView;I)V
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
const/4 v0, 0x2
|
|
|
|
if-ne p2, v0, :cond_1
|
|
|
|
.line 132
|
|
:cond_0
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView;->computeVerticalScrollExtent()I
|
|
|
|
move-result p2
|
|
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView;->computeVerticalScrollOffset()I
|
|
|
|
move-result v0
|
|
|
|
add-int/2addr p2, v0
|
|
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView;->computeVerticalScrollRange()I
|
|
|
|
move-result p1
|
|
|
|
if-lt p2, p1, :cond_1
|
|
|
|
iget-object p1, p0, Lcom/moji/user/message/fragment/BaseMsgFragment$3;->a:Lcom/moji/user/message/fragment/BaseMsgFragment;
|
|
|
|
invoke-static {p1}, Lcom/moji/user/message/fragment/BaseMsgFragment;->a(Lcom/moji/user/message/fragment/BaseMsgFragment;)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
.line 133
|
|
iget-object p1, p0, Lcom/moji/user/message/fragment/BaseMsgFragment$3;->a:Lcom/moji/user/message/fragment/BaseMsgFragment;
|
|
|
|
const/4 p2, 0x0
|
|
|
|
invoke-virtual {p1, p2}, Lcom/moji/user/message/fragment/BaseMsgFragment;->c(Z)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|