|
@@ -13,12 +13,16 @@ namespace InABox.Mobile
|
|
|
protected BaseMobileView()
|
|
|
{
|
|
|
InitializeComponent();
|
|
|
-
|
|
|
}
|
|
|
|
|
|
+ object _oldcontext = null;
|
|
|
private void BaseMobileView_OnBindingContextChanged(object sender, EventArgs e)
|
|
|
{
|
|
|
- DoBindingContextChanged();
|
|
|
+ if (BindingContext != _oldcontext)
|
|
|
+ {
|
|
|
+ _oldcontext = BindingContext;
|
|
|
+ DoBindingContextChanged();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
protected virtual void DoBindingContextChanged()
|