Package icyllis.modernui.lifecycle
Interface Observer<T>
- Type Parameters:
T
- The type of the parameter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A simple callback that can receive from
LiveData
.- See Also:
-
Method Summary
-
Method Details
-
onChanged
Called when the data is changed.- Parameters:
t
- The new data
-