move interface declaration to the bottom
This commit is contained in:
parent
4153a73139
commit
001bf403d1
1 changed files with 4 additions and 4 deletions
|
@ -90,10 +90,6 @@ class GetDirectoriesAsynctask(val context: Context, val isPickVideo: Boolean, va
|
|||
listener?.gotDirectories(dirs)
|
||||
}
|
||||
|
||||
interface GetDirectoriesListener {
|
||||
fun gotDirectories(dirs: ArrayList<Directory>)
|
||||
}
|
||||
|
||||
// sort the files at querying too, just to get the correct thumbnail
|
||||
private fun getSortOrder(): String {
|
||||
val sorting = mConfig.directorySorting
|
||||
|
@ -140,4 +136,8 @@ class GetDirectoriesAsynctask(val context: Context, val isPickVideo: Boolean, va
|
|||
|
||||
dirs.removeAll(ignoreDirs)
|
||||
}
|
||||
|
||||
interface GetDirectoriesListener {
|
||||
fun gotDirectories(dirs: ArrayList<Directory>)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue