Class Overview
Populates asynchronously the file info list for SD Card
Summary
Fields |
public
static
final
String |
TAG |
|
[Expand]
Inherited Fields |
From class
android.os.AsyncTask
public
static
final
Executor |
SERIAL_EXECUTOR |
|
public
static
final
Executor |
THREAD_POOL_EXECUTOR |
|
|
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
final
boolean
|
cancel(boolean arg0)
|
final
AsyncTask<Params, Progress, Result>
|
execute(Params... arg0)
|
static
void
|
execute(Runnable arg0)
|
final
AsyncTask<Params, Progress, Result>
|
executeOnExecutor(Executor arg0, Params... arg1)
|
final
Result
|
get(long arg0, TimeUnit arg1)
|
final
Result
|
get()
|
final
AsyncTask.Status
|
getStatus()
|
final
boolean
|
isCancelled()
|
|
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
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
|