Skip to content

Instantly share code, notes, and snippets.

Avatar

Bruno Van Thournout BrunoVT1992

View GitHub Profile
@BrunoVT1992
BrunoVT1992 / NotifyPropertyChanged.cs
Last active Apr 26, 2016
Mvvm INotifyPropertyChanged implementation
View NotifyPropertyChanged.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace Mvvm
{
@BrunoVT1992
BrunoVT1992 / Command.cs
Last active Apr 26, 2016
Mvvm ICommand implementation
View Command.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace Mvvm
{
public class Command : ICommand
@BrunoVT1992
BrunoVT1992 / Distance.cs
Last active Apr 26, 2016
Calculate the spline fling distance for Xamarin Android
View Distance.cs
using System;
using Android.App;
using Android.Hardware;
using Android.Views;
namespace Droid
{
public static class Distance
{
public static double CalculateSplineFlingDistance(float velocity)