예제 #1
0
        private void ActivityViewOnDestroyed(Activity sender)
        {
            ((IActivityView)sender).Mediator.Destroyed -= _listener.Handle;
            SetItemsSource(null, false);
            var adapterView = _container as AdapterView;

            if (adapterView.IsAlive() && ReferenceEquals(AttachedMembersRegistration.GetAdapter(adapterView), this))
            {
                AttachedMembersRegistration.SetAdapter(adapterView, null);
            }
        }