public class

PopulateSdFolderTask

extends CustomAsyncTask<Params, Progress, Result>
java.lang.Object
   ↳ android.os.AsyncTask<Params, Progress, Result>
     ↳ com.pdftron.pdf.utils.CustomAsyncTask<Params, Progress, Result>
       ↳ com.pdftron.demo.asynctask.PopulateSdFolderTask

Class Overview

Populates asynchronously the file info list for SD Card

Summary

Nested Classes
interface PopulateSdFolderTask.Callback Callback interface invoked regarding PopulateSdFolderTask
Fields
public static final String TAG
[Expand]
Inherited Fields
From class android.os.AsyncTask
Public Constructors
PopulateSdFolderTask(Context context, ArrayList<ExternalFileInfo> fileInfoList, Object fileInfoListLock, List<ExternalFileInfo> rootList, boolean forceReloadRoots, ExternalFileInfo currentRoot, ExternalFileInfo currentFolder, Comparator<ExternalFileInfo> sortMode, String savedFolderUri, String savedLeafUri, boolean acceptFiles, boolean acceptSubdirectories, PopulateSdFolderTask.Callback callback)
[Expand]
Inherited Methods
From class android.os.AsyncTask
From class java.lang.Object

Fields

public static final String TAG

Public Constructors

public PopulateSdFolderTask (Context context, ArrayList<ExternalFileInfo> fileInfoList, Object fileInfoListLock, List<ExternalFileInfo> rootList, boolean forceReloadRoots, ExternalFileInfo currentRoot, ExternalFileInfo currentFolder, Comparator<ExternalFileInfo> sortMode, String savedFolderUri, String savedLeafUri, boolean acceptFiles, boolean acceptSubdirectories, PopulateSdFolderTask.Callback callback)

Parameters
context The context
fileInfoList The original list of external file info
fileInfoListLock The lock for the original external file info list
rootList The root directories
forceReloadRoots True if should reload root list
currentRoot The current root
currentFolder The current folder
sortMode The sort mode for comparison
savedFolderUri The saved folder URI; null if no folder has been saved
savedLeafUri The saved leaf URI; null if no leaf has been saved
acceptFiles False if only folders should be populated; True otherwise
acceptSubdirectories True if should include sub-directories as hidden; False otherwise
callback The callback