https://kotlinlang.org logo
#android
Title
# android
b

Bacho Kurtanidze

10/28/2019, 9:56 AM
thanks for your answer, your approach seems better than mine, thing that drove me to post this question was that i needed to indicate models type even when creating loading and error states while data was null
t

Taha

10/28/2019, 9:57 AM
Glad it provided an idea ^^
Here's how i got it solved, plus i've written several extensions for wrapping and unwrapping the result