mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 08:03:50 +02:00
Implement thread list
This commit is contained in:
@@ -23,7 +23,7 @@ protocol ThreadListViewModelViewDelegate: AnyObject {
|
||||
}
|
||||
|
||||
protocol ThreadListViewModelCoordinatorDelegate: AnyObject {
|
||||
func threadListViewModel(_ viewModel: ThreadListViewModelProtocol, didCompleteWithUserDisplayName userDisplayName: String?)
|
||||
func threadListViewModelDidLoadThreads(_ viewModel: ThreadListViewModelProtocol)
|
||||
func threadListViewModelDidCancel(_ viewModel: ThreadListViewModelProtocol)
|
||||
}
|
||||
|
||||
@@ -36,4 +36,7 @@ protocol ThreadListViewModelProtocol {
|
||||
func process(viewAction: ThreadListViewAction)
|
||||
|
||||
var viewState: ThreadListViewState { get }
|
||||
|
||||
var numberOfThreads: Int { get }
|
||||
func threadViewModel(at index: Int) -> ThreadViewModel?
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user