allow extending the FileDirItem model
This commit is contained in:
parent
27f4b1e835
commit
7149b41200
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ buildscript {
|
|||
propMinSdkVersion = 21
|
||||
propTargetSdkVersion = propCompileSdkVersion
|
||||
propVersionCode = 1
|
||||
propVersionName = '5.10.18'
|
||||
propVersionName = '5.10.19'
|
||||
kotlin_version = '1.3.21'
|
||||
}
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ import com.simplemobiletools.commons.extensions.*
|
|||
import com.simplemobiletools.commons.helpers.*
|
||||
import java.io.File
|
||||
|
||||
data class FileDirItem(val path: String, val name: String = "", var isDirectory: Boolean = false, var children: Int = 0, var size: Long = 0L) :
|
||||
open class FileDirItem(val path: String, val name: String = "", var isDirectory: Boolean = false, var children: Int = 0, var size: Long = 0L) :
|
||||
Comparable<FileDirItem> {
|
||||
companion object {
|
||||
var sorting = 0
|
||||
|
|
Loading…
Reference in a new issue