Last active
May 17, 2018 08:14
-
-
Save tmaxxdd/3a1f1fccb47a37d874c00f25dd42f117 to your computer and use it in GitHub Desktop.
Code before using Array() in Kotlin.
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
... | |
val items: ArrayList<Topic> = ArrayList() | |
for (i in 1..20) items.add(Topic("Some topic", "Some description")) | |
return items |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment