I learned from the previous PR and created this intermediate PR to avoid having huge PR in the end 😄
This includes:
DataFetcher class that handles talking to core for both view models
Removed currentUser from viewmodel interface as it's no longer needed
Generic ListState<T> to be used by both view models
MessagesListViewModel still needs core for its other functionality
MessagesListViewController is still in its old version, I just updated it to use new view model (to keep the PR separated, I'll rewrite it using new UI in the next PR)
I learned from the previous PR and created this intermediate PR to avoid having huge PR in the end 😄
This includes:
DataFetcher
class that handles talking to core for both view modelsListState<T>
to be used by both view modelsMessagesListViewModel
still needs core for its other functionalityMessagesListViewController
is still in its old version, I just updated it to use new view model (to keep the PR separated, I'll rewrite it using new UI in the next PR)