https://kotlinlang.org logo
#android-architecture
Title
# android-architecture
u

ursus

12/03/2019, 4:10 AM
tldr
Copy code
DomainItem(some fields, extra field) -> UiItem(some fields // no extra field)

fun ViewModel.onItemClick(item : UiItem) {
     someRepository.doWhatever( //I need the extra field here)
}