구매 목록 - 페이징을 추가해 이전 구매목록이 추가로 로딩되도록 수정

This commit is contained in:
2023-10-31 12:23:12 +09:00
parent 5cdb7426c6
commit 5c293e79cf

View File

@@ -27,9 +27,10 @@ class AudioContentOrderListViewModel(
private var isLast = false
var page = 1
private val size = 10
private val size = 3
fun getAudioContentOrderList(onFailure: (() -> Unit)? = null) {
if (_isLoading.value == false) {
_isLoading.value = true
compositeDisposable.add(
repository.getAudioContentOrderList(
@@ -74,4 +75,5 @@ class AudioContentOrderListViewModel(
)
)
}
}
}