Created
November 25, 2014 16:11
-
-
Save auniverseaway/fcfb94f2b924ccacbc92 to your computer and use it in GitHub Desktop.
EpisodeView Play_Tapped
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(App.EpisodeViewModel.IsOpen && App.EpisodeViewModel.IsPlaying) | |
{ | |
// Pause | |
Debug.WriteLine("Pause"); | |
App.EpisodeViewModel.Pause(); | |
} | |
else if (App.EpisodeViewModel.IsOpen) | |
{ | |
// Play current | |
Debug.WriteLine("Play Current"); | |
App.EpisodeViewModel.PlayCurrent(); | |
} | |
else | |
{ | |
// Play New | |
Debug.WriteLine("Play New"); | |
App.EpisodeViewModel.PlayNew(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment