Android Studio 4.0 Tutorial - Part 2
Today's Android Studio tutorial shows how to add items to a RecyclerView using Kotlin. We'll start with a data class that holds are data names and types, then create a listOf before passing in a list of FoodItem's. Then we'll assemble our data into the RecyclerView we created in the last Android Studio 4.0 tutorial. When we run it in the emulator you'll see our "random" data appear in rows on the virtual device. Question? Leave comments below and follow me on Twitter for the greatest food pics View code here: https://github.com/danielmalone/Android-Studio-4.0-Tutorial Connect with me on Twitter: www.twitter.com/DanielMalone
Today's Android Studio tutorial shows how to add items to a RecyclerView using Kotlin. We'll start with a data class that holds are data names and types, then create a listOf before passing in a list of FoodItem's. Then we'll assemble our data into the RecyclerView we created in the last Android Studio 4.0 tutorial. When we run it in the emulator you'll see our "random" data appear in rows on the virtual device. Question? Leave comments below and follow me on Twitter for the greatest food pics View code here: https://github.com/danielmalone/Android-Studio-4.0-Tutorial Connect with me on Twitter: www.twitter.com/DanielMalone