Anybody know how to show an empty state view if Pa...
# android
i
Anybody know how to show an empty state view if PagingData has empty items? I can't seem to check the size of the items in PagingData
d
To get the size of presented items you need to use APIs on the adapter / differ
you're looking for
adapter.itemCount
💯 1
You can do this synchronously after load by calling it in loadStateFlow
💯 1
i
Man, I owe you a cold beer
214 Views