mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 17:42:45 +02:00
Implement pagination in recents list service
This commit is contained in:
@@ -170,6 +170,10 @@ public class MockRecentsListService: NSObject, RecentsListServiceProtocol {
|
||||
}
|
||||
}
|
||||
|
||||
public func paginate(inSection section: RecentsListServiceSection) {
|
||||
// no-op
|
||||
}
|
||||
|
||||
public func updateMode(_ mode: RecentsDataSourceMode) {
|
||||
self.mode = mode
|
||||
notifyDataChange()
|
||||
@@ -210,7 +214,7 @@ public class MockRecentsListService: NSObject, RecentsListServiceProtocol {
|
||||
}
|
||||
|
||||
private func notifyDataChange() {
|
||||
multicastDelegate.invoke({ $0.serviceDidChangeData(self) })
|
||||
multicastDelegate.invoke({ $0.recentsListServiceDidChangeData?(self) })
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user