123456789101112131415161718192021222324252627282930313233 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using Xamarin.Forms.Xaml;
- namespace InABox.Mobile
- {
- [XamlCompilation(XamlCompilationOptions.Compile)]
- public partial class BaseMobileView
- {
- protected BaseMobileView()
- {
- InitializeComponent();
- }
- object _oldcontext = null;
- private void BaseMobileView_OnBindingContextChanged(object sender, EventArgs e)
- {
- if (BindingContext != _oldcontext)
- {
- _oldcontext = BindingContext;
- DoBindingContextChanged();
- }
- }
- protected virtual void DoBindingContextChanged()
- {
-
- }
- }
- }
|