public class ImageAdapter2
extends android.widget.BaseAdapter
Constructor and Description |
---|
ImageAdapter2(android.content.Context context,
java.io.File[] files,
int width,
int height,
MapView view)
The context in this case is required to also be an activity.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
int |
getCount() |
java.io.File[] |
getFiles() |
static android.graphics.Bitmap |
getImage(java.io.File imageFile,
int width) |
android.graphics.Bitmap |
getImage(int position) |
java.lang.Object |
getItem(int position) |
long |
getItemId(int position) |
android.view.View |
getView(int position,
android.view.View convertView,
android.view.ViewGroup parent) |
void |
populateEXIFData(android.view.View layout,
java.io.File bmpFile) |
void |
refreshFiles(java.io.File[] files) |
void |
setData(int position,
android.view.View v) |
void |
setIndex(int position,
int numFiles,
android.view.View v) |
void |
stop() |
areAllItemsEnabled, getAutofillOptions, getDropDownView, getItemViewType, getViewTypeCount, hasStableIds, isEmpty, isEnabled, notifyDataSetChanged, notifyDataSetInvalidated, registerDataSetObserver, setAutofillOptions, unregisterDataSetObserver
public ImageAdapter2(android.content.Context context, java.io.File[] files, int width, int height, MapView view)
public int getCount()
public java.io.File[] getFiles()
public java.lang.Object getItem(int position)
public long getItemId(int position)
public android.graphics.Bitmap getImage(int position)
public static android.graphics.Bitmap getImage(java.io.File imageFile, int width)
public void setData(int position, android.view.View v)
public void populateEXIFData(android.view.View layout, java.io.File bmpFile)
public void dispose()
public void setIndex(int position, int numFiles, android.view.View v)
public android.view.View getView(int position, android.view.View convertView, android.view.ViewGroup parent)
public void refreshFiles(java.io.File[] files)
public void stop()