public static class SwankyGallery.SwankyAdapter
extends android.support.v4.view.PagerAdapter
Constructor and Description |
---|
SwankyAdapter(android.content.Context context,
int[] imageIds) |
Modifier and Type | Method and Description |
---|---|
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) |
destroyItem, finishUpdate, finishUpdate, getItemPosition, getPageTitle, getPageWidth, instantiateItem, notifyDataSetChanged, registerDataSetObserver, restoreState, saveState, setPrimaryItem, setPrimaryItem, startUpdate, startUpdate, unregisterDataSetObserver
public SwankyAdapter(android.content.Context context, int[] imageIds)
public SwankyImageView instantiateItem(android.view.ViewGroup container, int position)
instantiateItem
in class android.support.v4.view.PagerAdapter
public int getCount()
getCount
in class android.support.v4.view.PagerAdapter
public void destroyItem(android.view.ViewGroup container, int position, Object object)
destroyItem
in class android.support.v4.view.PagerAdapter
public boolean isViewFromObject(android.view.View view, Object object)
isViewFromObject
in class android.support.v4.view.PagerAdapter
Copyright © 2011–2014. All rights reserved.