Skip to content

Instantly share code, notes, and snippets.

@markojerkic
Created April 9, 2017 08:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markojerkic/f14da8555d450f6e2087082d5e4121ec to your computer and use it in GitHub Desktop.
Save markojerkic/f14da8555d450f6e2087082d5e4121ec to your computer and use it in GitHub Desktop.
Setting up the TextView
if(viewSwitcher.getCurrentView() == ratingBar) {
viewSwitcher.showNext();//if the current view is the RatingBar, then show
//the next one, which is the TextView
textView.setText(ratingBarResult + " / 10.0");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment