public override void OnGuidedActionClicked(GuidedAction action) { foreach (var a in this.Actions) { a.Checked = (a == action); } var appPrefs = ApplicationMain.ServiceLocator.GetInstance<ApplicationPreference>(); switch (action.Id) { case 1: appPrefs.PlayerType.Value = PlayerType.ExoPlayer; break; case 2: appPrefs.PlayerType.Value = PlayerType.AndroidDefault; break; case 3: appPrefs.PlayerType.Value = PlayerType.WebView; break; } this.FragmentManager.PopBackStack(); }
public override void OnGuidedActionClicked(GuidedAction action) { foreach (var a in this.Actions) { a.Checked = (a == action); } var appPrefs = ApplicationMain.ServiceLocator.GetInstance<ApplicationPreference>(); switch (action.Id) { case 1: appPrefs.StreamingType.Value = StreamingType.Rtmp; break; case 2: appPrefs.StreamingType.Value = StreamingType.Hls; break; } this.FragmentManager.PopBackStack(); }
public override void OnGuidedActionClicked(GuidedAction action) { switch (action.Id) { case 0: Add(FragmentManager, new StreamingSettingGuidedStepFragment()); break; case 1: Add(FragmentManager, new PlayerSettingGuidedStepFragment()); break; case 2: Add(FragmentManager, new AboutSettingGuidedStepFragment()); break; } }