added in version 1.0.0
belongs to Maven artifact android.arch.lifecycle:livedata-core:1.1.1
belongs to Maven artifact android.arch.lifecycle:livedata-core:1.1.1
Observer
public
interface
Observer
android.arch.lifecycle.Observer<T> |
A simple callback that can receive from LiveData
.
See also:
Summary
Public methods | |
---|---|
abstract
void
|
onChanged(T t)
Called when the data is changed. |
Public methods
onChanged
added in version 1.0.0
void onChanged (T t)
Called when the data is changed.
Parameters | |
---|---|
t |
T : The new data
|
Annotations
Interfaces
Classes
- AndroidViewModel
- Lifecycle
- LifecycleRegistry
- LifecycleService
- LiveData
- LiveDataReactiveStreams
- MediatorLiveData
- MutableLiveData
- ProcessLifecycleOwner
- ServiceLifecycleDispatcher
- Transformations
- ViewModel
- ViewModelProvider
- ViewModelProvider.AndroidViewModelFactory
- ViewModelProvider.NewInstanceFactory
- ViewModelProviders
- ViewModelProviders.DefaultFactory
- ViewModelStore
- ViewModelStores
Enums