public void OnMapInfoUninstalled(object sender, OfflineMapInfo info) { // SAMCTODO: TEST this.ParentVC.BeginInvokeOnMainThread (() => { this.ReloadInstalledMaps (); }); }
protected override void Dispose (bool disposing) { base.Dispose (disposing); if (this._mapInfo != null) { this._mapInfo.MapInfoChanged -= OnMapInfoChanged; this._mapInfo = null; } }
public OfflineMapInfoElement (DialogViewController parentVC, OfflineMapInfo info) : base (info.LocalizedDescription, "", UITableViewCellStyle.Subtitle) { this._parentVC = new WeakReference<DialogViewController>(parentVC); this._mapInfo = info; this.Value = this.GetValueForCurrentState (); if (this._mapInfo.children.Count > 0) { this.Accessory = UITableViewCellAccessory.DisclosureIndicator; } this.Tapped += CellTapped; this._mapInfo.MapInfoChanged += OnMapInfoChanged; }
protected void OnMapInfoChanged(object sender, OfflineMapInfo e) { this.RefreshCell (); }
public SKMapUtilOfflineMapInfoViewController (OfflineMapInfo mapInfo) : base(UITableViewStyle.Plain, null, true) { this._mapInfo = mapInfo; this.EnableSearch = true; this.AutoHideSearch = (mapInfo.children.Count < 8); }