onData abstract method

void onData(
  1. T t
)

Called when the data is changed. @param t The new data

Implementation

void onData(T t);