@@ -23,6 +23,7 @@ data class Snack(
23
23
val id : Long ,
24
24
val name : String ,
25
25
val imageUrl : String ,
26
+ val price : Long ,
26
27
val tagline : String = " " ,
27
28
val tags : Set <String > = emptySet()
28
29
)
@@ -36,162 +37,190 @@ val snacks = listOf(
36
37
id = 1L ,
37
38
name = " Cupcake" ,
38
39
tagline = " A tag line" ,
39
- imageUrl = " https://source.unsplash.com/pGM4sjt_BdQ"
40
+ imageUrl = " https://source.unsplash.com/pGM4sjt_BdQ" ,
41
+ price = 299
40
42
),
41
43
Snack (
42
44
id = 2L ,
43
45
name = " Donut" ,
44
46
tagline = " A tag line" ,
45
- imageUrl = " https://source.unsplash.com/Yc5sL-ejk6U"
47
+ imageUrl = " https://source.unsplash.com/Yc5sL-ejk6U" ,
48
+ price = 299
46
49
),
47
50
Snack (
48
51
id = 3L ,
49
52
name = " Eclair" ,
50
53
tagline = " A tag line" ,
51
- imageUrl = " https://source.unsplash.com/-LojFX9NfPY"
54
+ imageUrl = " https://source.unsplash.com/-LojFX9NfPY" ,
55
+ price = 299
52
56
),
53
57
Snack (
54
58
id = 4L ,
55
59
name = " Froyo" ,
56
60
tagline = " A tag line" ,
57
- imageUrl = " https://source.unsplash.com/3U2V5WqK1PQ"
61
+ imageUrl = " https://source.unsplash.com/3U2V5WqK1PQ" ,
62
+ price = 299
58
63
),
59
64
Snack (
60
65
id = 5L ,
61
66
name = " Gingerbread" ,
62
67
tagline = " A tag line" ,
63
- imageUrl = " https://source.unsplash.com/Y4YR9OjdIMk"
68
+ imageUrl = " https://source.unsplash.com/Y4YR9OjdIMk" ,
69
+ price = 499
64
70
),
65
71
Snack (
66
72
id = 6L ,
67
73
name = " Honeycomb" ,
68
74
tagline = " A tag line" ,
69
- imageUrl = " https://source.unsplash.com/bELvIg_KZGU"
75
+ imageUrl = " https://source.unsplash.com/bELvIg_KZGU" ,
76
+ price = 299
70
77
),
71
78
Snack (
72
79
id = 7L ,
73
80
name = " Ice Cream Sandwich" ,
74
81
tagline = " A tag line" ,
75
- imageUrl = " https://source.unsplash.com/AqorcpZIKnU"
82
+ imageUrl = " https://source.unsplash.com/AqorcpZIKnU" ,
83
+ price = 1299
76
84
),
77
85
Snack (
78
86
id = 8L ,
79
87
name = " Jellybean" ,
80
88
tagline = " A tag line" ,
81
- imageUrl = " https://source.unsplash.com/0u_vbeOkMpk"
89
+ imageUrl = " https://source.unsplash.com/0u_vbeOkMpk" ,
90
+ price = 299
82
91
),
83
92
Snack (
84
93
id = 9L ,
85
94
name = " KitKat" ,
86
95
tagline = " A tag line" ,
87
- imageUrl = " https://source.unsplash.com/yb16pT5F_jE"
96
+ imageUrl = " https://source.unsplash.com/yb16pT5F_jE" ,
97
+ price = 549
88
98
),
89
99
Snack (
90
100
id = 10L ,
91
101
name = " Lollipop" ,
92
102
tagline = " A tag line" ,
93
- imageUrl = " https://source.unsplash.com/AHF_ZktTL6Q"
103
+ imageUrl = " https://source.unsplash.com/AHF_ZktTL6Q" ,
104
+ price = 299
94
105
),
95
106
Snack (
96
107
id = 11L ,
97
108
name = " Marshmallow" ,
98
109
tagline = " A tag line" ,
99
- imageUrl = " https://source.unsplash.com/rqFm0IgMVYY"
110
+ imageUrl = " https://source.unsplash.com/rqFm0IgMVYY" ,
111
+ price = 299
100
112
),
101
113
Snack (
102
114
id = 12L ,
103
115
name = " Nougat" ,
104
116
tagline = " A tag line" ,
105
- imageUrl = " https://source.unsplash.com/qRE_OpbVPR8"
117
+ imageUrl = " https://source.unsplash.com/qRE_OpbVPR8" ,
118
+ price = 299
106
119
),
107
120
Snack (
108
121
id = 13L ,
109
122
name = " Oreo" ,
110
123
tagline = " A tag line" ,
111
- imageUrl = " https://source.unsplash.com/33fWPnyN6tU"
124
+ imageUrl = " https://source.unsplash.com/33fWPnyN6tU" ,
125
+ price = 299
112
126
),
113
127
Snack (
114
128
id = 14L ,
115
129
name = " Pie" ,
116
130
tagline = " A tag line" ,
117
- imageUrl = " https://source.unsplash.com/aX_ljOOyWJY"
131
+ imageUrl = " https://source.unsplash.com/aX_ljOOyWJY" ,
132
+ price = 299
118
133
),
119
134
Snack (
120
135
id = 15L ,
121
136
name = " Chips" ,
122
- imageUrl = " https://source.unsplash.com/UsSdMZ78Q3E"
137
+ imageUrl = " https://source.unsplash.com/UsSdMZ78Q3E" ,
138
+ price = 299
123
139
),
124
140
Snack (
125
141
id = 16L ,
126
142
name = " Pretzels" ,
127
- imageUrl = " https://source.unsplash.com/7meCnGCJ5Ms"
143
+ imageUrl = " https://source.unsplash.com/7meCnGCJ5Ms" ,
144
+ price = 299
128
145
),
129
146
Snack (
130
147
id = 17L ,
131
148
name = " Smoothies" ,
132
- imageUrl = " https://source.unsplash.com/m741tj4Cz7M"
149
+ imageUrl = " https://source.unsplash.com/m741tj4Cz7M" ,
150
+ price = 299
133
151
),
134
152
Snack (
135
153
id = 18L ,
136
154
name = " Popcorn" ,
137
- imageUrl = " https://source.unsplash.com/iuwMdNq0-s4"
155
+ imageUrl = " https://source.unsplash.com/iuwMdNq0-s4" ,
156
+ price = 299
138
157
),
139
158
Snack (
140
159
id = 19L ,
141
160
name = " Almonds" ,
142
- imageUrl = " https://source.unsplash.com/qgWWQU1SzqM"
161
+ imageUrl = " https://source.unsplash.com/qgWWQU1SzqM" ,
162
+ price = 299
143
163
),
144
164
Snack (
145
165
id = 20L ,
146
166
name = " Cheese" ,
147
- imageUrl = " https://source.unsplash.com/9MzCd76xLGk"
167
+ imageUrl = " https://source.unsplash.com/9MzCd76xLGk" ,
168
+ price = 299
148
169
),
149
170
Snack (
150
171
id = 21L ,
151
172
name = " Apples" ,
152
173
tagline = " A tag line" ,
153
- imageUrl = " https://source.unsplash.com/1d9xXWMtQzQ"
174
+ imageUrl = " https://source.unsplash.com/1d9xXWMtQzQ" ,
175
+ price = 299
154
176
),
155
177
Snack (
156
178
id = 22L ,
157
179
name = " Apple sauce" ,
158
180
tagline = " A tag line" ,
159
- imageUrl = " https://source.unsplash.com/wZxpOw84QTU"
181
+ imageUrl = " https://source.unsplash.com/wZxpOw84QTU" ,
182
+ price = 299
160
183
),
161
184
Snack (
162
185
id = 23L ,
163
186
name = " Apple chips" ,
164
187
tagline = " A tag line" ,
165
- imageUrl = " https://source.unsplash.com/okzeRxm_GPo"
188
+ imageUrl = " https://source.unsplash.com/okzeRxm_GPo" ,
189
+ price = 299
166
190
),
167
191
Snack (
168
192
id = 24L ,
169
193
name = " Apple juice" ,
170
194
tagline = " A tag line" ,
171
- imageUrl = " https://source.unsplash.com/l7imGdupuhU"
195
+ imageUrl = " https://source.unsplash.com/l7imGdupuhU" ,
196
+ price = 299
172
197
),
173
198
Snack (
174
199
id = 25L ,
175
200
name = " Apple pie" ,
176
201
tagline = " A tag line" ,
177
- imageUrl = " https://source.unsplash.com/bkXzABDt08Q"
202
+ imageUrl = " https://source.unsplash.com/bkXzABDt08Q" ,
203
+ price = 299
178
204
),
179
205
Snack (
180
206
id = 26L ,
181
207
name = " Grapes" ,
182
208
tagline = " A tag line" ,
183
- imageUrl = " https://source.unsplash.com/y2MeW00BdBo"
209
+ imageUrl = " https://source.unsplash.com/y2MeW00BdBo" ,
210
+ price = 299
184
211
),
185
212
Snack (
186
213
id = 27L ,
187
214
name = " Kiwi" ,
188
215
tagline = " A tag line" ,
189
- imageUrl = " https://source.unsplash.com/1oMGgHn-M8k"
216
+ imageUrl = " https://source.unsplash.com/1oMGgHn-M8k" ,
217
+ price = 299
190
218
),
191
219
Snack (
192
220
id = 28L ,
193
221
name = " Mango" ,
194
222
tagline = " A tag line" ,
195
- imageUrl = " https://source.unsplash.com/TIGDsyy0TK4"
223
+ imageUrl = " https://source.unsplash.com/TIGDsyy0TK4" ,
224
+ price = 299
196
225
)
197
226
)
0 commit comments