FilePickerDialog

constructor(activity: BaseAbstractActivity, currPath: String = activity.config.homeFolder, pickFile: Boolean = true, showFAB: Boolean = false, isMovingOperation: Boolean = false, hideAction: HideAction = HideAction.NONE, finishOnBackPress: Boolean = false, callbackNegative: () -> Unit? = null, callback: (pickedPath: String) -> Unit)

Parameters

activity

has to be activity to avoid some Theme.AppCompat issues

currPath

initial path of the dialog, defaults to the external storage

pickFile

toggle used to determine if we are picking a file or a folder

showFAB

toggle the displaying of a Floating Action Button for creating new folders

callback

the callback used for returning the selected file/folder