allow extending the FileDirItem model

This commit is contained in:
tibbi 2019-03-26 16:07:27 +01:00
parent 27f4b1e835
commit 7149b41200
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ buildscript {
propMinSdkVersion = 21
propTargetSdkVersion = propCompileSdkVersion
propVersionCode = 1
propVersionName = '5.10.18'
propVersionName = '5.10.19'
kotlin_version = '1.3.21'
}

View file

@ -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