<@U0Y1UA56U>: Let’s say you want a quick and simpl...
# android
k
@cesards: Let’s say you want a quick and simple way to update your Recyclerview. You could use
Deleagates.observable
as a way to get your job done. Example,
Copy code
var items by Delegates.observable(listOf<Item>()) { meta, oldItems, newItems -> adapter.notifyDatasetChanged() }
👍 1