public class BoxPreviewGifFragment extends BoxPreviewDefaultFragment
| Modifier and Type | Class and Description |
|---|---|
class |
BoxPreviewGifFragment.ConvertedImageHolder |
BoxPreviewFragment.BoxPreviewController, BoxPreviewFragment.Listener| Modifier and Type | Field and Description |
|---|---|
static int |
THUMBNAIL_MIN_WIDTH |
mIsErrorShowing, mReportsTransferBytesEXTRA_BOX_ITEM, EXTRA_POSITION, EXTRA_PREVIEW_LOADED, EXTRA_THUMBNAIL_LOADED, MANDATORY_BOX_FILE_FIELDS, mController, mPosition, mPreviewLoaded, mReceiver, mThumbnailLoaded, TAG| Constructor and Description |
|---|
BoxPreviewGifFragment() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
displayImage(PreviewStorage storage,
BoxFile file) |
static com.box.androidsdk.preview.ext.BoxRequestsPreview.DownloadFile |
getCacheGifFileRequest(BoxSession session,
BoxFile boxFile,
PreviewStorage storage,
BoxApiPreview apiPreview) |
static com.box.androidsdk.preview.ext.BoxRequestsPreview.DownloadThumbnail |
getCacheThumbnailRequest(BoxSession session,
BoxFile boxFile,
PreviewStorage storage,
BoxApiPreview apiPreview) |
protected android.content.IntentFilter |
getIntentFilter() |
void |
loadContent(BoxExecutor executor,
java.util.Collection<java.util.concurrent.FutureTask> tasks,
PreviewStorage storage) |
protected void |
onBoxRequestError(BoxResponse response) |
protected void |
onBoxRequestSuccess(BoxResponse response) |
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState) |
void |
OnErrorLoadingImage() |
void |
setGifWebView(java.lang.String gifLocation,
boolean isBase64Encoded) |
getProgressBar, getVisibleViews, hideError, hideProgress, initDefaultViews, isContainerVisible, onActivityCreated, onCreate, onSaveInstanceState, onStart, restartDownload, restoreStatus, setProgress, showProgress, showUnavailablecancelLoadContent, checkTasksBeforeExecute, checkTasksBeforeExecute, createInstance, execute, getBoxFile, getBoxSession, getPosition, getPreviewController, handleMessage, isContentLoading, loadContent, notifyFragmentLoaded, notifyFragmentUnloaded, onDestroy, onDetach, onInternetConnectionChanged, onPause, onResume, onTaskCompleted, setPreviewController, setUserVisibleHint, showNetworkUnavailablepublic static final int THUMBNAIL_MIN_WIDTH
@Nullable
public android.view.View onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState)
onCreateView in class BoxPreviewDefaultFragmentprotected void onBoxRequestSuccess(BoxResponse response)
onBoxRequestSuccess in class BoxPreviewDefaultFragmentprotected void onBoxRequestError(BoxResponse response)
onBoxRequestError in class BoxPreviewDefaultFragmentpublic void loadContent(BoxExecutor executor, java.util.Collection<java.util.concurrent.FutureTask> tasks, PreviewStorage storage)
loadContent in class BoxPreviewDefaultFragmentpublic void OnErrorLoadingImage()
protected void displayImage(PreviewStorage storage, BoxFile file)
public static com.box.androidsdk.preview.ext.BoxRequestsPreview.DownloadThumbnail getCacheThumbnailRequest(BoxSession session,
BoxFile boxFile,
PreviewStorage storage,
BoxApiPreview apiPreview)
public static com.box.androidsdk.preview.ext.BoxRequestsPreview.DownloadFile getCacheGifFileRequest(BoxSession session,
BoxFile boxFile,
PreviewStorage storage,
BoxApiPreview apiPreview)
public void setGifWebView(java.lang.String gifLocation,
boolean isBase64Encoded)
protected android.content.IntentFilter getIntentFilter()
getIntentFilter in class BoxPreviewFragment