Hi anyone is having example of LiveData used in S...
# multiplatform
n
Hi anyone is having example of LiveData used in Shared common code
n
Thanks @alex009
j
I think recommendation though would be to use StateFlow instead of LiveData in shared code (and in fact in general) if possible
👍 1
n
@John O'Reilly yeah John i was going through your blog i think it better to use StateFlow
j
btw, if you haven't seen it, there was nice article a few days ago about transitioning from LiveData to StateFlow etc https://medium.com/androiddevelopers/migrating-from-livedata-to-kotlins-flow-379292f419fb