private void ClearBoundViews() { var cleaner = new MvxBindingLayoutCleaner(); _boundViews.ForEach(cleaner.Clean); _boundViews.Clear(); }
public void ClearBindings(View view) { if (view == null) { return; } var cleaner = new MvxBindingLayoutCleaner(); cleaner.Clean(view); for (var i = 0; i < _boundViews.Count; i++) { if (_boundViews[i] == view) { _boundViews.RemoveAt(i); break; } } }