onMount method

void onMount()

Implementation of widget functionality. It differs from the activity in that it starts only when the widget is mounted.

Implementation

void onMount() {}