This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected override void SetValueImpl(object target, object value) | |
{ | |
var binaryEdit = (BinaryEdit)target; | |
binaryEdit.SetThat((int)value); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public override void SetValue(object value) | |
{ | |
var target = Target as BinaryEdit; | |
if (target == null) | |
return; | |
target.SetThat((int)value); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BinaryEditFooTargetBinding : MvxAndroidTargetBinding | |
{ | |
protected BinaryEdit BinaryEdit | |
{ | |
get { return (BinaryEdit) Target; } | |
} | |
public BinaryEditFooTargetBinding(BinaryEdit target) : base(target) | |
{ | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BinaryEditFooTargetBinding : MvxAndroidTargetBinding | |
{ | |
public BinaryEditFooTargetBinding(BinaryEdit target) : base(target) | |
{ | |
target.MyCountChanged += TargetOnMyCountChanged; | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MvxEditTextFocusChangeTextSpecialTargetBinding | |
: MvxAndroidTargetBinding | |
{ | |
protected EditText EditText | |
{ | |
get { return (EditText)Target; } | |
} | |
private bool _subscribed; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<packages> | |
<package id="MvvmCross.HotTuna.CrossCore" version="3.0.9-beta5" targetFramework="MonoTouch40" /> | |
<package id="MvvmCross.HotTuna.MvvmCrossLibraries" version="3.0.9-beta5" targetFramework="MonoTouch40" /> | |
<package id="MvvmCross.HotTuna.Touch.Dialog" version="3.0.9-beta5" targetFramework="MonoTouch40" /> | |
<package id="MvvmCross.PortableSupport" version="3.0.9-beta5" targetFramework="MonoTouch40" /> | |
</packages> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[assembly: TypeForwardedTo(typeof (Android.Support.V4.Accessibilityservice.AccessibilityServiceInfoCompat))] | |
[assembly: TypeForwardedTo(typeof (Android.Support.V4.App.ActionBarDrawerToggle))] | |
[assembly: TypeForwardedTo(typeof (Android.Support.V4.App.ActivityCompat))] | |
[assembly: TypeForwardedTo(typeof (Android.Support.V4.App.ActivityOptionsCompat))] | |
[assembly: TypeForwardedTo(typeof (Android.Support.V4.App.DialogFragment))] | |
[assembly: TypeForwardedTo(typeof (Android.Support.V4.App.Fragment))] | |
[assembly: TypeForwardedTo(typeof (Android.Support.V4.App.FragmentActivity))] | |
[assembly: TypeForwardedTo(typeof (Android.Support.V4.App.FragmentManager))] | |
[assembly: TypeForwardedTo(typeof (Android.Support.V4.App.FragmentPagerAdapter))] | |
[assembly: TypeForwardedTo(typeof (Android.Support.V4.App.FragmentStatePagerAdapter))] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MyViewController | |
: UIViewController | |
, IMvxBindable | |
{ | |
public IMvxBindingContext BindingContext { get; set; } | |
protected override void Dispose(bool disposing) | |
{ | |
if (disposing) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MiniSetup | |
{ | |
public static readonly MiniSetup Instance = new MiniSetup(); | |
public void EnsureInit() | |
{ | |
if (MvxSimpleIoCContainer.Instance != null) | |
return; | |
var ioc = MvxSimpleIoCContainer.Initialise(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// an abstract helper class | |
public abstract class MvxAnnotationManager | |
{ | |
private readonly MKMapView _mapView; | |
private IEnumerable _itemsSource; | |
private IDisposable _subscription; | |
public Dictionary<object, MKAnnotation> _annotations = new Dictionary<object, MKAnnotation>(); | |
protected MvxAnnotationManager(MKMapView mapView) | |
{ |