.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 (Landroidx/viewpager2/widget/ViewPager2;)V .locals 0 iput-object p1, p0, Landroidx/viewpager2/widget/ViewPager2$4;->this$0:Landroidx/viewpager2/widget/ViewPager2; .line 270 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public onChildViewAttachedToWindow(Landroid/view/View;)V .locals 1 .line 274 invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams; move-result-object p0 check-cast p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams; .line 275 iget p1, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->width:I const/4 v0, -0x1 if-ne p1, v0, :cond_0 iget p0, p0, Landroidx/recyclerview/widget/RecyclerView$LayoutParams;->height:I if-ne p0, v0, :cond_0 return-void .line 277 :cond_0 new-instance p0, Ljava/lang/IllegalStateException; const-string p1, "Pages must fill the whole ViewPager2 (use match_parent)" invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw p0 .end method .method public onChildViewDetachedFromWindow(Landroid/view/View;)V .locals 0 return-void .end method