mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-23 15:27:39 +01:00
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)
|
||||
}
|
||||
|
||||
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…
x
Reference in New Issue
Block a user