oak.widget
Class SwankyGallery.SwankyAdapter

java.lang.Object
  extended by android.support.v4.view.PagerAdapter
      extended by oak.widget.SwankyGallery.SwankyAdapter
Enclosing class:
SwankyGallery

public static class SwankyGallery.SwankyAdapter
extends android.support.v4.view.PagerAdapter


Field Summary
 
Fields inherited from class android.support.v4.view.PagerAdapter
POSITION_NONE, POSITION_UNCHANGED
 
Constructor Summary
SwankyGallery.SwankyAdapter(android.content.Context context, int[] imageIds)
           
 
Method Summary
 void destroyItem(android.view.ViewGroup container, int position, Object object)
           
 int getCount()
           
 SwankyImageView instantiateItem(android.view.ViewGroup container, int position)
           
 boolean isViewFromObject(android.view.View view, Object object)
           
 
Methods inherited from class android.support.v4.view.PagerAdapter
destroyItem, finishUpdate, finishUpdate, getItemPosition, getPageTitle, getPageWidth, instantiateItem, notifyDataSetChanged, restoreState, saveState, setPrimaryItem, setPrimaryItem, startUpdate, startUpdate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwankyGallery.SwankyAdapter

public SwankyGallery.SwankyAdapter(android.content.Context context,
                                   int[] imageIds)
Method Detail

instantiateItem

public SwankyImageView instantiateItem(android.view.ViewGroup container,
                                       int position)
Overrides:
instantiateItem in class android.support.v4.view.PagerAdapter

getCount

public int getCount()
Specified by:
getCount in class android.support.v4.view.PagerAdapter

destroyItem

public void destroyItem(android.view.ViewGroup container,
                        int position,
                        Object object)
Overrides:
destroyItem in class android.support.v4.view.PagerAdapter

isViewFromObject

public boolean isViewFromObject(android.view.View view,
                                Object object)
Specified by:
isViewFromObject in class android.support.v4.view.PagerAdapter


Copyright © 2011-2014. All Rights Reserved.