Skip to content
This repository was archived by the owner on Dec 15, 2023. It is now read-only.

MVVM Helpers

DeanFaizal edited this page Mar 4, 2019 · 4 revisions

The app uses the MVVM (Model-View-ViewModel) pattern to decouple business logic & presentation code.

The relevant supporting components can be found in MobCAT/MVVM.

INavigationService & NavigationService

The NavigationService provides a clear and direct way for Screen navigation within ViewModels.

IValueConverter

AsyncCommand

Implementation for asynchronous bindable commands

BaseCollectionViewModel

BaseNavigationViewModel

Base ViewModel that exposes the INavigationService through the Navigation property

BaseNotifyPropertyChanged

Implementation for INotifyPropertyChanged with support for watching properties.

BaseViewModel

BaseViewModel that provides properties for IsBusy, IsNotBusy, overridable methods for InitAsync() and Dispose()

Command

Implementation for generic commands Command<T>

VirtualCollection

ObservableCollection implementation for virtual collections which handles updating the items, VirtualCount, and VirtualPageSize through the method AddPage(IEnumerable<TItem> collection, int? virtualCount = null, int? pageNumber = null, int? pageSize = null)

MobCAT Framework

Beyond the MobCAT Framework

Clone this wiki locally