You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
705 B
39 lines
705 B
package com.gyf.csams.main.model
|
|
|
|
import android.app.Application
|
|
import com.gyf.lib.model.ScrollViewModel
|
|
import com.gyf.lib.util.AssociationLevel
|
|
import com.gyf.lib.util.AssociationVo
|
|
|
|
|
|
|
|
|
|
/**
|
|
* 数据状态管理
|
|
*
|
|
*/
|
|
class AssociationManagementViewModel(application: Application) : ScrollViewModel<AssociationVo>(
|
|
application
|
|
) {
|
|
override val initSize: Int = 10
|
|
|
|
init {
|
|
load()
|
|
}
|
|
|
|
fun load() {
|
|
TODO()
|
|
}
|
|
|
|
fun loadMore(callback: (message: String) -> Unit) {
|
|
TODO("Not yet implemented")
|
|
}
|
|
|
|
/**
|
|
*
|
|
* @param level
|
|
*/
|
|
fun update(associationDto: AssociationVo, level: AssociationLevel) {
|
|
TODO("更新社团级别")
|
|
}
|
|
} |