I have an activity contains too many UI controls. I want to execute a method after make the activity visible.
An example i tried:
publi
Move the code on to onAttachedToWindow()
@Override public void onAttachedToWindow() { super.onAttachedToWindow(); Toast.makeText(this, "Hi UI is fully loaded", Toast.LENGTH_SHORT).show(); }