fix .retry
This commit is contained in:
parent
435fbace1d
commit
323300be63
|
|
@ -50,6 +50,10 @@ public final class PaginationDataLoadingModel<Cursor: ResettableRxDataSourceCurs
|
|||
case .reload, .retry:
|
||||
dataSource = dataSource.reset()
|
||||
|
||||
if loadType == .retry {
|
||||
state = .initial
|
||||
}
|
||||
|
||||
state = .loading(after: state)
|
||||
case .next:
|
||||
if case .exhausted = state {
|
||||
|
|
|
|||
Loading…
Reference in New Issue