async void OnResumingAsync(object sender, object e) { try { await ImageElementManager.UpdateSource(this); } catch (Exception exception) { Log.Warning("Update image source after app resume", $"ImageSource failed to update after app resume: {exception.Message}"); } }
protected async Task UpdateSource() { await ImageElementManager.UpdateSource(this).ConfigureAwait(false); }