changed repo structure
This commit is contained in:
@@ -0,0 +1,76 @@
|
||||
.class Landroidx/viewpager2/widget/ViewPager2$4;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ViewPager2.java"
|
||||
|
||||
# interfaces
|
||||
.implements Landroidx/recyclerview/widget/RecyclerView$OnChildAttachStateChangeListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Landroidx/viewpager2/widget/ViewPager2;->enforceChildFillListener()Landroidx/recyclerview/widget/RecyclerView$OnChildAttachStateChangeListener;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x0
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic this$0:Landroidx/viewpager2/widget/ViewPager2;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Landroidx/viewpager2/widget/ViewPager2;)V
|
||||
.locals 0
|
||||
|
||||
.line 263
|
||||
iput-object p1, p0, Landroidx/viewpager2/widget/ViewPager2$4;->this$0:Landroidx/viewpager2/widget/ViewPager2;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onChildViewAttachedToWindow(Landroid/view/View;)V
|
||||
.locals 2
|
||||
|
||||
.line 267
|
||||
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;
|
||||
|
||||
.line 268
|
||||
iget v0, p1, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->width:I
|
||||
|
||||
const/4 v1, -0x1
|
||||
|
||||
if-ne v0, v1, :cond_0
|
||||
|
||||
iget p1, p1, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->height:I
|
||||
|
||||
if-ne p1, v1, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
.line 270
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "Pages must fill the whole ViewPager2 (use match_parent)"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public onChildViewDetachedFromWindow(Landroid/view/View;)V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
Reference in New Issue
Block a user