Currently, I am using List for TimetableItemList.
However, I would like to use "favorites" in TimetableItemList. Currently, we are using timetableContents.favorites.contains(timetableItemId).
For example, TimetableItemList has a pair of TimetableItem and isFavorited.
TimetableItemList(timetableItems, favorites).get(0) returns Pair<TimetableItem, Boolean>
Kind (Required)
Improvement
Overview (Required)
Currently, I am using List for TimetableItemList.
However, I would like to use "favorites" in TimetableItemList. Currently, we are using
timetableContents.favorites.contains(timetableItemId)
. For example, TimetableItemList has a pair of TimetableItem and isFavorited.TimetableItemList(timetableItems, favorites).get(0) returns Pair<TimetableItem, Boolean>
https://github.com/DroidKaigi/conference-app-2021/blob/main/model/src/commonMain/kotlin/io/github/droidkaigi/feeder/TimetableContents.kt#L8
Links
-