Created
February 13, 2014 22:23
-
-
Save luisdelarosa/8985194 to your computer and use it in GitHub Desktop.
Jump to an already running Glass Live Card
From http://stackoverflow.com/questions/20579666/in-glass-gdk-timer-example-how-do-you-jump-to-the-live-card-when-it-is-already-r
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(mLiveCard == null){ | |
//Publish your card | |
}else{ | |
mLiveCard.unpublish(); | |
//Set liveCard's view | |
mLiveCard.setNonSilent(true); | |
mLiveCard.publish(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment