public class

PopulateFolderTask

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.PopulateFolderTask

Class Overview

Populates asynchronously the file info list for internal Folder

Summary

Nested Classes
interface PopulateFolderTask.Callback Callback interface invoked regarding PopulateFolderTask
[Expand]
Inherited Fields
From class android.os.AsyncTask
Public Constructors
PopulateFolderTask(Context context, File folder, List<FileInfo> fileInfoList, Object fileInfoListLock, Comparator<FileInfo> sortMode, boolean acceptFiles, boolean acceptSubdirectories, boolean acceptSdCard, sdCardFolderCache, PopulateFolderTask.Callback callback)
[Expand]
Inherited Methods
From class android.os.AsyncTask
From class java.lang.Object

Public Constructors

public PopulateFolderTask (Context context, File folder, List<FileInfo> fileInfoList, Object fileInfoListLock, Comparator<FileInfo> sortMode, boolean acceptFiles, boolean acceptSubdirectories, boolean acceptSdCard, sdCardFolderCache, PopulateFolderTask.Callback callback)

Parameters
context The context
folder The root folder; null if it is the root of storage
fileInfoList The original list of file info
fileInfoListLock The lock for the original file info list
sortMode The sort mode for comparison
acceptFiles False if only folders should be populated; True otherwise
acceptSubdirectories True if should include sub-directories as hidden; False otherwise
acceptSdCard True if SD card folders/files should be populated
sdCardFolderCache The SD Card folder cache
callback The callback