.class Lcom/forum/HomePageFragment$8; .super Landroidx/recyclerview/widget/RecyclerView$OnScrollListener; .source "HomePageFragment.java" # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/forum/HomePageFragment;->initEvent()V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x0 name = null .end annotation # instance fields .field final synthetic this$0:Lcom/forum/HomePageFragment; # direct methods .method constructor (Lcom/forum/HomePageFragment;)V .registers 2 .line 242 iput-object p1, p0, Lcom/forum/HomePageFragment$8;->this$0:Lcom/forum/HomePageFragment; invoke-direct {p0}, Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;->()V return-void .end method # virtual methods .method public onScrollStateChanged(Landroidx/recyclerview/widget/RecyclerView;I)V .registers 4 .line 247 invoke-super {p0, p1, p2}, Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;->onScrollStateChanged(Landroidx/recyclerview/widget/RecyclerView;I)V if-nez p2, :cond_45 .line 248 iget-object p1, p0, Lcom/forum/HomePageFragment$8;->this$0:Lcom/forum/HomePageFragment; invoke-static {p1}, Lcom/forum/HomePageFragment;->-$$Nest$fgetlastVisibleItem(Lcom/forum/HomePageFragment;)I move-result p1 add-int/lit8 p1, p1, 0x1 iget-object p2, p0, Lcom/forum/HomePageFragment$8;->this$0:Lcom/forum/HomePageFragment; invoke-static {p2}, Lcom/forum/HomePageFragment;->-$$Nest$fgetadapter(Lcom/forum/HomePageFragment;)Lcom/forum/adapter/CommentAdapter; move-result-object p2 .line 249 invoke-virtual {p2}, Lcom/forum/adapter/CommentAdapter;->getItemCount()I move-result p2 if-ne p1, p2, :cond_45 iget-object p1, p0, Lcom/forum/HomePageFragment$8;->this$0:Lcom/forum/HomePageFragment; invoke-static {p1}, Lcom/forum/HomePageFragment;->-$$Nest$fgetisLast(Lcom/forum/HomePageFragment;)Ljava/lang/String; move-result-object p1 const-string p2, "1" invoke-virtual {p1, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z move-result p1 if-nez p1, :cond_45 .line 250 iget-object p1, p0, Lcom/forum/HomePageFragment$8;->this$0:Lcom/forum/HomePageFragment; iget-object p1, p1, Lcom/forum/HomePageFragment;->params:Ljava/util/Map; iget-object p2, p0, Lcom/forum/HomePageFragment$8;->this$0:Lcom/forum/HomePageFragment; invoke-static {p2}, Lcom/forum/HomePageFragment;->-$$Nest$fgetpageNum(Lcom/forum/HomePageFragment;)I move-result v0 add-int/lit8 v0, v0, 0x1 invoke-static {p2, v0}, Lcom/forum/HomePageFragment;->-$$Nest$fputpageNum(Lcom/forum/HomePageFragment;I)V invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String; move-result-object p2 const-string v0, "pageNum" invoke-interface {p1, v0, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; .line 251 iget-object p1, p0, Lcom/forum/HomePageFragment$8;->this$0:Lcom/forum/HomePageFragment; const/4 p2, 0x0 invoke-virtual {p1, p2}, Lcom/forum/HomePageFragment;->getCommentList(Z)V :cond_45 return-void .end method .method public onScrolled(Landroidx/recyclerview/widget/RecyclerView;II)V .registers 4 .line 257 invoke-super {p0, p1, p2, p3}, Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;->onScrolled(Landroidx/recyclerview/widget/RecyclerView;II)V .line 258 iget-object p1, p0, Lcom/forum/HomePageFragment$8;->this$0:Lcom/forum/HomePageFragment; iget-object p2, p1, Lcom/forum/HomePageFragment;->layoutManager:Landroidx/recyclerview/widget/LinearLayoutManager; invoke-virtual {p2}, Landroidx/recyclerview/widget/LinearLayoutManager;->findLastVisibleItemPosition()I move-result p2 invoke-static {p1, p2}, Lcom/forum/HomePageFragment;->-$$Nest$fputlastVisibleItem(Lcom/forum/HomePageFragment;I)V return-void .end method