public void HidePresentationSelection() { Logging.Log (this, Logging.LoggingTypeDebug, "HidePresentationSelection()"); RunOnUiThread (() => { PresentationSelection = PresentationSelectionType.Hide; // start animation llChoosePresentation.StartAnimation (leftOutAnim); llPresentationInfo.StartAnimation (rightOutAnim); }); }
public void ShowPresentationSelection() { Logging.Log (this, Logging.LoggingTypeDebug, "ShowPresentationSelection()"); RunOnUiThread (() => { PresentationSelection = PresentationSelectionType.Show; // Load current list presentationsHelper.LoadSlidesListAsync().ContinueWith(t => { if (!t.IsFaulted) { lvSlides.Adapter = new SlidesAdapter(this, t.Result); } }, TaskScheduler.FromCurrentSynchronizationContext()); llChoosePresentation.Visibility = ViewStates.Visible; llPresentationInfo.Visibility = ViewStates.Visible; // start animation llChoosePresentation.StartAnimation (leftInAnim); llPresentationInfo.StartAnimation (rightInAnim); }); }