Observer

interface Observer<T>


A simple callback that can receive from ObservableWatchData. NB defined in java to allow SAM conversion of kotlin lambdas.

Parameters
<T>

The type of the parameter

Summary

Public methods

abstract @NonNull void

Called when the data is changed.

Public methods

onChanged

@NonNull
public abstract void onChanged(@NonNull T t)

Called when the data is changed.

Parameters
@NonNull T t

The new data