Professional Documents
Culture Documents
ListView in Android - Kotlin
ListView in Android - Kotlin
com/article/listview-in-android-kotlin/
1 of 5 18/06/2020 15:38
ListView In Android - Kotlin https://www.c-sharpcorner.com/article/listview-in-android-kotlin/
2 of 5 18/06/2020 15:38
ListView In Android - Kotlin https://www.c-sharpcorner.com/article/listview-in-android-kotlin/
3 of 5 18/06/2020 15:38
ListView In Android - Kotlin https://www.c-sharpcorner.com/article/listview-in-android-kotlin/
4 of 5 18/06/2020 15:38
ListView In Android - Kotlin https://www.c-sharpcorner.com/article/listview-in-android-kotlin/
52.
53. movie = Movies("Aliens", "Science Fiction", "1986")
54. movieList.add(movie)
55.
56. movie = Movies("Chicken Run", "Animation", "2000")
57. movieList.add(movie)
58.
59. movie = Movies("Back to the Future", "Science Fiction", "1985")
60. movieList.add(movie)
61.
62. movie = Movies("Raiders of the Lost Ark", "Action & Adventure", "1981")
63. movieList.add(movie)
64.
65. movie = Movies("Goldfinger", "Action & Adventure", "1965")
66. movieList.add(movie)
67.
68. movie = Movies("Guardians of the Galaxy", "Science Fiction & Fantasy", "2014")
69. movieList.add(movie)
70.
71. adapter?.notifyDataSetChanged()
72. }
73. }
5 of 5 18/06/2020 15:38