java.lang.Object
   ↳ DialogFragment
     ↳ com.pdftron.demo.navigation.ToolbarFragment
       ↳ com.pdftron.demo.navigation.FileBrowserViewFragment
         ↳ com.pdftron.demo.navigation.ExternalStorageViewFragment

Summary

Nested Classes
interface ExternalStorageViewFragment.ExternalStorageViewFragmentListener  
[Expand]
Inherited Constants
From class com.pdftron.demo.navigation.FileBrowserViewFragment
Public Constructors
ExternalStorageViewFragment()
Public Methods
void bindFilterViewModel(Menu menu)
void cleanupResources()
String getFilterText()
void hideFileInfoDrawer()
static ExternalStorageViewFragment newInstance()
boolean onActionItemClicked(ActionMode mode, MenuItem item)
void onActivityResult(int requestCode, int resultCode, Intent data)
void onAttach(Context context)
boolean onBackPressed()
void onConfigurationChanged(Configuration newConfig)
void onConversionFailed(String errorMessage)
void onConversionFinished(String path, boolean isLocal)
void onCreate(Bundle savedInstanceState)
boolean onCreateActionMode(ActionMode mode, Menu menu)
void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
void onCurrentRootRemoved()
Called when the current root is no longer available
void onDataChanged()
void onDestroy()
void onDestroyActionMode(ActionMode mode)
void onDestroyView()
void onDetach()
void onDrawerOpened()
void onDrawerSlide()
void onExternalFileDeleted(ArrayList<ExternalFileInfo> deletedFiles)
void onExternalFileDuplicated(ExternalFileInfo fileCopy)
void onExternalFileMerged(ArrayList<FileInfo> mergedFiles, ArrayList<FileInfo> filesToDelete, FileInfo newFile)
void onExternalFileMoved(Map<ExternalFileInfo, Boolean> filesMoved, File targetFolder)
void onExternalFileMoved(Map<ExternalFileInfo, Boolean> filesMoved, ExternalFileInfo targetFolder)
void onExternalFileRenamed(ExternalFileInfo oldFile, ExternalFileInfo newFile)
void onExternalFileTrashed(ArrayList<ExternalFileInfo> deletedFiles)
void onExternalFolderCreated(ExternalFileInfo rootFolder, ExternalFileInfo newFolder)
void onExternalFolderSelected(int requestCode, Object object, ExternalFileInfo folder)
void onExternalTrashRemoved(TrashEntity trashEntity)
void onExternalTrashesLoaded(List<TrashEntity> trashEntityList)
void onFilterResultsPublished(int resultCode)
boolean onKeyUp(int keyCode, KeyEvent event)
void onLocalFolderSelected(int requestCode, Object object, File folder)
void onLowMemory()
void onMergeConfirmed(ArrayList<FileInfo> filesToMerge, ArrayList<FileInfo> filesToDelete, String title)
boolean onOptionsItemSelected(MenuItem item)
void onPause()
void onPopulateSdFilesTaskFinished()
Called when the task has been terminated.
void onPopulateSdFilesTaskProgressUpdated(ExternalFileInfo savedRoot, ExternalFileInfo savedFolder, ExternalFileInfo savedLeaf)
Called when the task has built special saved folder.
void onPopulateSdFilesTaskProgressUpdated(List<ExternalFileInfo> rootList)
Called when the task has updated file info list.
void onPopulateSdFilesTaskStarted()
Called when the task has started.
void onPreLaunchViewer()
boolean onPrepareActionMode(ActionMode mode, Menu menu)
void onPrepareOptionsMenu(Menu menu)
void onProcessNewIntent()
boolean onQueryTextChange(String newText)
boolean onQueryTextSubmit(String query)
void onResume()
void onRootsRemoved(ArrayList<ExternalFileInfo> deletedFiles)
void onSaveInstanceState(Bundle outState)
void onShowFileInfo(int position)
void onStart()
void onStop()
void onViewCreated(View view, Bundle savedInstanceState)
void saveCreatedDocument(PDFDoc doc, String title)
void setCurrentFolder(String folderUri, String treeUri)
void setExternalStorageViewFragmentListener(ExternalStorageViewFragment.ExternalStorageViewFragmentListener listener)
void updateSpanCount(int count)
[Expand]
Inherited Methods
From class com.pdftron.demo.navigation.FileBrowserViewFragment
From class com.pdftron.demo.navigation.ToolbarFragment
From class java.lang.Object
From interface com.pdftron.demo.asynctask.PopulateSdFolderTask.Callback
From interface com.pdftron.demo.dialog.FilePickerDialogFragment.ExternalFolderListener
From interface com.pdftron.demo.dialog.FilePickerDialogFragment.LocalFolderListener
From interface com.pdftron.demo.dialog.MergeDialogFragment.MergeDialogFragmentListener
From interface com.pdftron.demo.navigation.adapter.BaseFileAdapter.AdapterListener
From interface com.pdftron.demo.navigation.callbacks.ExternalFileManagementListener
From interface com.pdftron.demo.navigation.callbacks.MainActivityListener
From interface com.pdftron.demo.navigation.component.html2pdf.HtmlConversionComponent.HtmlConversionListener

Public Constructors

public ExternalStorageViewFragment ()

Public Methods

public void bindFilterViewModel (Menu menu)

public void cleanupResources ()

public String getFilterText ()

public void hideFileInfoDrawer ()

public static ExternalStorageViewFragment newInstance ()

public boolean onActionItemClicked (ActionMode mode, MenuItem item)

public void onActivityResult (int requestCode, int resultCode, Intent data)

public void onAttach (Context context)

public boolean onBackPressed ()

public void onConfigurationChanged (Configuration newConfig)

public void onConversionFailed (String errorMessage)

public void onConversionFinished (String path, boolean isLocal)

public void onCreate (Bundle savedInstanceState)

public boolean onCreateActionMode (ActionMode mode, Menu menu)

public void onCreateOptionsMenu (Menu menu, MenuInflater inflater)

public View onCreateView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)

public void onCurrentRootRemoved ()

Called when the current root is no longer available

public void onDataChanged ()

public void onDestroy ()

public void onDestroyActionMode (ActionMode mode)

public void onDestroyView ()

public void onDetach ()

public void onDrawerOpened ()

public void onDrawerSlide ()

public void onExternalFileDeleted (ArrayList<ExternalFileInfo> deletedFiles)

public void onExternalFileDuplicated (ExternalFileInfo fileCopy)

public void onExternalFileMerged (ArrayList<FileInfo> mergedFiles, ArrayList<FileInfo> filesToDelete, FileInfo newFile)

public void onExternalFileMoved (Map<ExternalFileInfo, Boolean> filesMoved, File targetFolder)

public void onExternalFileMoved (Map<ExternalFileInfo, Boolean> filesMoved, ExternalFileInfo targetFolder)

public void onExternalFileRenamed (ExternalFileInfo oldFile, ExternalFileInfo newFile)

public void onExternalFileTrashed (ArrayList<ExternalFileInfo> deletedFiles)

public void onExternalFolderCreated (ExternalFileInfo rootFolder, ExternalFileInfo newFolder)

public void onExternalFolderSelected (int requestCode, Object object, ExternalFileInfo folder)

public void onExternalTrashRemoved (TrashEntity trashEntity)

public void onExternalTrashesLoaded (List<TrashEntity> trashEntityList)

public void onFilterResultsPublished (int resultCode)

public boolean onKeyUp (int keyCode, KeyEvent event)

public void onLocalFolderSelected (int requestCode, Object object, File folder)

public void onLowMemory ()

public void onMergeConfirmed (ArrayList<FileInfo> filesToMerge, ArrayList<FileInfo> filesToDelete, String title)

public boolean onOptionsItemSelected (MenuItem item)

public void onPause ()

public void onPopulateSdFilesTaskFinished ()

Called when the task has been terminated.

public void onPopulateSdFilesTaskProgressUpdated (ExternalFileInfo savedRoot, ExternalFileInfo savedFolder, ExternalFileInfo savedLeaf)

Called when the task has built special saved folder.

Parameters
savedRoot The saved root
savedFolder The saved folder
savedLeaf The saved leaf

public void onPopulateSdFilesTaskProgressUpdated (List<ExternalFileInfo> rootList)

Called when the task has updated file info list.

Parameters
rootList The populated root list

public void onPopulateSdFilesTaskStarted ()

Called when the task has started.

public void onPreLaunchViewer ()

public boolean onPrepareActionMode (ActionMode mode, Menu menu)

public void onPrepareOptionsMenu (Menu menu)

public void onProcessNewIntent ()

public boolean onQueryTextChange (String newText)

public boolean onQueryTextSubmit (String query)

public void onResume ()

public void onRootsRemoved (ArrayList<ExternalFileInfo> deletedFiles)

public void onSaveInstanceState (Bundle outState)

public void onShowFileInfo (int position)

public void onStart ()

public void onStop ()

public void onViewCreated (View view, Bundle savedInstanceState)

public void saveCreatedDocument (PDFDoc doc, String title)

public void setCurrentFolder (String folderUri, String treeUri)

public void setExternalStorageViewFragmentListener (ExternalStorageViewFragment.ExternalStorageViewFragmentListener listener)

public void updateSpanCount (int count)