private void UpdateUI(ConnectionState state) { if (state == ConnectionState.Connected) { HideStatus(); if (this == ServiceManager.SourceManager.ActiveSource) { TuneAndLoad(); } } else { track_model.Clear(); SetStatus(RadioConnection.MessageFor(state), state != ConnectionState.Connecting, state); OnUpdated(); } }
private void UpdateUI(ConnectionState state) { if (state == ConnectionState.Connected) { HideStatus (); if (this == ServiceManager.SourceManager.ActiveSource) { TuneAndLoad (); } } else { track_model.Clear (); SetStatus (RadioConnection.MessageFor (state), state != ConnectionState.Connecting, state); OnUpdated (); } }
public void SetStatus(string message, bool error, ConnectionState state) { base.SetStatus (message, error); //LastfmSource.SetStatus (status_message, error, state); }
public void SetStatus(string message, bool error, ConnectionState state) { base.SetStatus(message, error); //LastfmSource.SetStatus (status_message, error, state); }