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.

@FunctionalInterface public interface Observer<T>
A simple callback that can receive from `LiveData`.

See Also:
  - `LiveData - for a usage description.`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onChanged(T t)`
  Called when the data is changed.

- ## Method Details

  - ### onChanged

    void onChanged(T t)
    Called when the data is changed.
    Parameters:
      `t` - The new data