onAttach method

void onAttach()

Implementation

void onAttach() {
  _scheduleTick();
  _bindLifecycleListener();
}