init method

void init()
  • A callback after ViewModel is constructed.
  • The event is called by default every time the ViewModel view dependencies are updated.
  • Set initOnce of the MVVM builder to true to ignore dependencies updates.

Implementation

void init() {}