96 lines
2.4 KiB
Smali
96 lines
2.4 KiB
Smali
.class final Lcom/vk/discover/DiscoverFragment$onCreateView$$inlined$let$lambda$2$1;
|
|
.super Lkotlin/jvm/internal/Lambda;
|
|
.source "DiscoverFragment.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/b/a;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/vk/discover/DiscoverFragment$onCreateView$$inlined$let$lambda$2;->onScrolled(Landroidx/recyclerview/widget/RecyclerView;II)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x18
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkotlin/jvm/internal/Lambda;",
|
|
"Lkotlin/jvm/b/a<",
|
|
"Ljava/lang/Integer;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic $recyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Landroidx/recyclerview/widget/RecyclerView;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/vk/discover/DiscoverFragment$onCreateView$$inlined$let$lambda$2$1;->$recyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
invoke-direct {p0, p1}, Lkotlin/jvm/internal/Lambda;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final invoke()I
|
|
.locals 2
|
|
|
|
.line 2
|
|
iget-object v0, p0, Lcom/vk/discover/DiscoverFragment$onCreateView$$inlined$let$lambda$2$1;->$recyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
|
|
|
|
move-result-object v0
|
|
|
|
instance-of v1, v0, Landroidx/recyclerview/widget/LinearLayoutManager;
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:cond_0
|
|
check-cast v0, Landroidx/recyclerview/widget/LinearLayoutManager;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/LinearLayoutManager;->findFirstVisibleItemPosition()I
|
|
|
|
move-result v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public bridge synthetic invoke()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lcom/vk/discover/DiscoverFragment$onCreateView$$inlined$let$lambda$2$1;->invoke()I
|
|
|
|
move-result v0
|
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|