ImmutableLiveData
A LiveData class which has the value set during construction.
Clients may prefer to use this class rather than androidx.lifecycle.MutableLiveData:
If this class is more convenient to use. With this class, in a single call, a LiveData instance with a value already set can be created.
If they would like to guarantee with typing that the LiveData will not change.
Parameters
value
The value to set.
Constructors
Inherited properties
Inherited functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard