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