private void ShowInfo() { ActivityHelp help = currentFragment.GetHelp(); VideoPlayerFragment helpVidFragment = new VideoPlayerFragment(help.HelpVideo, help.ActivityName, help.ActivityDescription); helpVidFragment.Show(SupportFragmentManager, "video_helper"); helpVidFragment.StartVideo(); }
private async void ShowHelpDialog() { FinishReading(); ActivityHelp help = await ServerData.FetchHelp(currentMode) as ActivityHelp; if (help == null) return; VideoPlayerFragment helpVidFragment = new VideoPlayerFragment(help.HelpVideo, help.ActivityName, help.ActivityDescription); helpVidFragment.Show(SupportFragmentManager, "video_helper"); if (!string.IsNullOrWhiteSpace(help.HelpVideo)) { helpVidFragment.StartVideo(); } }