Skip to content

MvvmBinder supports Xamarin.iOS, Xamarin.Android, Xamarin.Mac, Xamarin.Forms, Universal Windows Platform (UWP) and Windows Presentation Framework (WPF).

Notifications You must be signed in to change notification settings

Kuvar/MvvmBinder

Repository files navigation

MvvmBinder

Collection of MVVM helper classes for any application.

Build Status:

NuGets Name Info MvvmBinder NuGet Development Feed MyGet What's included?

I wanted to keep this library really small and just created it for myself, but I hope others find it useful. Here is what I added in and feel free to request new things in the Issues tab. ObservableObject

Simple implementation of INotifyPropertyChanged that any class can inherit from.

///

/// Sets the property. /// /// true, if property was set, false otherwise. /// Backing store. /// Value. /// Property name. /// On changed. /// The 1st type parameter. protected bool SetProperty( ref T backingStore, T value, [CallerMemberName]string propertyName = "", Action onChanged = null)

//

/// Raises the property changed event. /// /// Property name. protected void OnPropertyChanged([CallerMemberName]string propertyName = "")

#ViewModelBase Your base view model! It implements INotifyPropertyChanged and a bunch of default properties such as Title, SubTitle, Icon, IsBusy, IsNotBusy, CanLoadMore. Grouping

Best way to group items into a Key/Value pair ObservableCollection for managing groups of data. See my blog post: Enhancing Xamarin.Forms ListView with Grouping Headers ObservableRangeCollection

A super awesome ObservableCollection that adds important methods such as: AddRange, RemoveRange, Replace, and ReplaceRange. Utils

Any and all extension methods that are nifty. Here are the current ones:

///

/// Task extension to add a timeout. /// /// The task with timeout. /// Task. /// Duration in Milliseconds. /// The 1st type parameter. public async static Task WithTimeout(this Task task, int durationMilliseconds)

Want To Support This Project?

All I have ever asked is to be active by submitting bugs, features, and sending those pull requests down! Want to go further? Make sure to subscribe to my weekly development podcast Merge Conflict, where I talk all about awesome Xamarin goodies and you can optionally support the show by becoming a supporter on Patreon.

About

MvvmBinder supports Xamarin.iOS, Xamarin.Android, Xamarin.Mac, Xamarin.Forms, Universal Windows Platform (UWP) and Windows Presentation Framework (WPF).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published