示例#1
0
 public override void Hide()
 {
     if (mSatelliteFragment != null)
     {
         mSatelliteFragment.Dispose(); mSatelliteFragment = null;
     }
     if (RTCore.Instance != null)
     {
         RTCore.Instance.Satellites.OnUnregister -= Refresh;
     }
     base.Hide();
 }
示例#2
0
 public override void Show()
 {
     RTCore.Instance.Satellites.OnUnregister += Refresh;
     mSatelliteFragment = mSatelliteFragment ?? new SatelliteFragment(mSetSatellite);
     base.Show();
 }