onLayoutChange method

void onLayoutChange(
  1. int width,
  2. int height
)

Called when something happens to the layout make sure to check if width and height are the same as the last time.

Implementation

void onLayoutChange(int width, int height) {}