Underscore prefix indicates that the function is created and performed by Alloy. All non-Alloy functions below will be optional;
- __init - Establish
$
asthis
- prelayout - Before any UI is created. Good time to update Alloy.CFG with runtime values for use in styles.
- __layout - All UI elements are created and added to the view hierarchy
- postLayout - Everything is prepared, this is where the bulk of the code will go and where beginners will spend all their time.