.class Lcom/viatech/widget/ConnectViewPager$ConnectPagerAdapter; .super Landroid/support/v4/view/PagerAdapter; .source "ConnectViewPager.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/viatech/widget/ConnectViewPager; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x0 name = "ConnectPagerAdapter" .end annotation # instance fields .field private list:[Landroid/view/View; .field final synthetic this$0:Lcom/viatech/widget/ConnectViewPager; # direct methods .method public constructor (Lcom/viatech/widget/ConnectViewPager;[Landroid/view/View;)V .locals 0 .prologue .line 258 iput-object p1, p0, Lcom/viatech/widget/ConnectViewPager$ConnectPagerAdapter;->this$0:Lcom/viatech/widget/ConnectViewPager; .line 259 invoke-direct {p0}, Landroid/support/v4/view/PagerAdapter;->()V .line 260 iput-object p2, p0, Lcom/viatech/widget/ConnectViewPager$ConnectPagerAdapter;->list:[Landroid/view/View; .line 261 return-void .end method # virtual methods .method public destroyItem(Landroid/view/ViewGroup;ILjava/lang/Object;)V .locals 0 .prologue .line 274 check-cast p3, Landroid/view/View; invoke-virtual {p1, p3}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V .line 275 return-void .end method .method public getCount()I .locals 1 .prologue .line 279 iget-object v0, p0, Lcom/viatech/widget/ConnectViewPager$ConnectPagerAdapter;->list:[Landroid/view/View; if-nez v0, :cond_0 .line 280 const/4 v0, 0x0 .line 282 :goto_0 return v0 :cond_0 iget-object v0, p0, Lcom/viatech/widget/ConnectViewPager$ConnectPagerAdapter;->list:[Landroid/view/View; array-length v0, v0 goto :goto_0 .end method .method public instantiateItem(Landroid/view/ViewGroup;I)Ljava/lang/Object; .locals 2 .prologue const/4 v0, 0x0 .line 265 iget-object v1, p0, Lcom/viatech/widget/ConnectViewPager$ConnectPagerAdapter;->list:[Landroid/view/View; if-nez v1, :cond_0 .line 269 :goto_0 return-object v0 .line 268 :cond_0 iget-object v1, p0, Lcom/viatech/widget/ConnectViewPager$ConnectPagerAdapter;->list:[Landroid/view/View; aget-object v1, v1, p2 invoke-virtual {p1, v1, v0}, Landroid/view/ViewGroup;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V .line 269 iget-object v0, p0, Lcom/viatech/widget/ConnectViewPager$ConnectPagerAdapter;->list:[Landroid/view/View; aget-object v0, v0, p2 goto :goto_0 .end method .method public isViewFromObject(Landroid/view/View;Ljava/lang/Object;)Z .locals 1 .prologue .line 287 if-ne p1, p2, :cond_0 const/4 v0, 0x1 :goto_0 return v0 :cond_0 const/4 v0, 0x0 goto :goto_0 .end method