|
|
@ -31,7 +31,7 @@ import com.google.samples.apps.nowinandroid.core.model.data.UserNewsResource
|
|
|
|
* [UserNewsResource]s.
|
|
|
|
* [UserNewsResource]s.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* [onToggleBookmark] defines the action invoked when a user wishes to bookmark an item
|
|
|
|
* [onToggleBookmark] defines the action invoked when a user wishes to bookmark an item
|
|
|
|
* Default action launches an intent matching the card.
|
|
|
|
* When a news resource card is tapped it will open the news resource URL in a Chrome Custom Tab.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
fun LazyListScope.userNewsResourceCardItems(
|
|
|
|
fun LazyListScope.userNewsResourceCardItems(
|
|
|
|
items: List<UserNewsResource>,
|
|
|
|
items: List<UserNewsResource>,
|
|
|
|