protected override void OnBindingContextChanged (EventArgs e)
{
base.OnBindingContextChanged (e);
if (last_binding_context == BindingContext)
return;
last_binding_context = BindingContext;
ConnectToDataSource ();
if (DataManager != null) {
SetItemsCore (DataManager.List);
if (AllowSelection)
SelectedIndex = DataManager.Position;
}
}