public class ImageGalleryBlobAdapter extends ImageGalleryBaseAdapter
ImageGalleryBaseAdapter.ThumbnailCreator<T>, ImageGalleryBaseAdapter.ViewHolder<T>
filters, receiver, refreshThread
Constructor and Description |
---|
ImageGalleryBlobAdapter(MapView view,
java.lang.String[] uris,
java.lang.String uid,
boolean showDetails,
android.view.View progressBar) |
Modifier and Type | Method and Description |
---|---|
void |
customizeGalleryView(android.view.View gv)
Customizes image gallery view elements (e.g., visibility, click handlers)
as needed by the adapter.
|
void |
customizeToolbarView(android.view.View tbv)
Customizes image gallery toolbar view elements (e.g., visibility, click
handlers) as needed by the adapter.
|
protected void |
displayFile(GalleryItem item)
Display the supplied item, which was clicked in the gallery and has been
determined not to represent an image or video.
|
protected void |
displayVideo(GalleryItem item)
Display the supplied item, which was clicked in the gallery and has been
determined to represent a video.
|
int |
getCount() |
DropDown.OnStateListener |
getDropDownStateListener() |
com.atakmap.android.image.ImageGalleryBlobAdapter.BlobItem |
getImage(int position) |
protected java.lang.String[] |
getImageURIs()
Returns an array of the URIs of GalleryItems that are of an image MIME
type.
|
java.lang.Object |
getItem(int position) |
long |
getItemId(int position) |
android.view.View |
getView(int position,
android.view.View convertView,
android.view.ViewGroup parent) |
protected void |
refreshImpl()
Refresh called on non-UI thread
|
addFilter, displayImage, dispose, getCacheFile, getDisplayDetails, getFileCache, getGridViewClickListener, getLoadExecutor, getMapView, getSaveExecutor, getTitle, getTitles, hideProgressBar, refresh, removeFilter, removeFilter, rotateBitmap, setDisplayDetails, setItemThumbnail, setReceiver, showProgressBar, updateLastModified
areAllItemsEnabled, getAutofillOptions, getDropDownView, getItemViewType, getViewTypeCount, hasStableIds, isEmpty, isEnabled, notifyDataSetChanged, notifyDataSetInvalidated, registerDataSetObserver, setAutofillOptions, unregisterDataSetObserver
public ImageGalleryBlobAdapter(MapView view, java.lang.String[] uris, java.lang.String uid, boolean showDetails, android.view.View progressBar)
public com.atakmap.android.image.ImageGalleryBlobAdapter.BlobItem getImage(int position)
public void customizeGalleryView(android.view.View gv)
ImageGalleryBaseAdapter
customizeGalleryView
in class ImageGalleryBaseAdapter
gv
- The image gallery view.public void customizeToolbarView(android.view.View tbv)
ImageGalleryBaseAdapter
customizeToolbarView
in class ImageGalleryBaseAdapter
tbv
- The image gallery's toolbar view.public DropDown.OnStateListener getDropDownStateListener()
getDropDownStateListener
in class ImageGalleryBaseAdapter
public int getCount()
public java.lang.Object getItem(int position)
public long getItemId(int position)
public android.view.View getView(int position, android.view.View convertView, android.view.ViewGroup parent)
protected void displayFile(GalleryItem item)
ImageGalleryBaseAdapter
displayFile
in class ImageGalleryBaseAdapter
item
- The GalleryItem to be displayed as a file.protected void displayVideo(GalleryItem item)
ImageGalleryBaseAdapter
displayVideo
in class ImageGalleryBaseAdapter
item
- The GalleryItem to be displayed as a video.protected java.lang.String[] getImageURIs()
ImageGalleryBaseAdapter
getImageURIs
in class ImageGalleryBaseAdapter
protected void refreshImpl()
ImageGalleryBaseAdapter
refreshImpl
in class ImageGalleryBaseAdapter