2020-09-06 10:33:04 +00:00
|
|
|
package com.vanced.manager.model
|
|
|
|
|
|
|
|
open class ProgressModel {
|
|
|
|
|
2020-09-15 18:06:29 +00:00
|
|
|
private var downloadProgress = 0
|
2020-09-06 10:33:04 +00:00
|
|
|
private var downloadingFile = ""
|
|
|
|
|
|
|
|
var showInstallCircle = false
|
|
|
|
var showDownloadBar = false
|
|
|
|
|
|
|
|
open fun getDownloadProgress(): Int {
|
|
|
|
return downloadProgress
|
|
|
|
}
|
|
|
|
|
2020-09-15 18:06:29 +00:00
|
|
|
open fun setDownloadProgress(progress: Int) {
|
2020-09-06 10:33:04 +00:00
|
|
|
downloadProgress = progress
|
|
|
|
}
|
|
|
|
|
|
|
|
open fun getDownloadingFile(): String {
|
2020-09-15 18:06:29 +00:00
|
|
|
return downloadingFile
|
2020-09-06 10:33:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
open fun setDownloadingFile(file: String) {
|
|
|
|
downloadingFile = file
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|