voddan
11/20/2019, 10:37 AMLiveData (a kind of observable):
private val _volume = MutableLiveData(0)
public val volume: LiveData<Int> = _volume
Example with lists:
private val _users = mutableListOf(user1)
public val users: List<User> = _users
Are there any ideas that are on the table that would simplify those patterns or allow them to be encapsulated with property delegates?voddan
11/20/2019, 3:56 PMvoddan
11/20/2019, 4:29 PMilya.gorbunov
11/20/2019, 5:21 PMmolikuner
11/20/2019, 6:32 PM