Created
June 8, 2018 08:38
-
-
Save exhesham/b0fef66c8a41871de242b93c309e6f9e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
/* | |
* Iterate through the array and append the Strings to the TextView. The reason why we add | |
* the "\n\n\n" after the String is to give visual separation between each String in the | |
* TextView. Later, we'll learn about a better way to display lists of data. | |
*/ | |
for (String toyName : toyNames) { | |
mToysListTextView.append(toyName + "\n\n\n"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment