getUserLive

abstract fun getUserLive(userId: String): LiveData<Optional<User>>

Observe a live user from a userId.

Return

a LiveData of user with userId

Parameters

userId

the userId to look for.