public void Release() { imageListView.ClearSelection(); imageListView.Items.Clear(); _listViewAdaptor.Dispose(); _listViewAdaptor = null; _imageSources.Clear(); }
private void Init(IEnumerable <ImageSource> imageSources) { _imageSources.AddRange(imageSources); _listViewAdaptor = new ImageSourceAdaptor(_imageSources); LoadImages(); }