In framework for Android apps, during creating View, a number of useful functions are invoked. They can be left with default implementation, but also can be overloaded with extra code. OS will call them in this order:
- Constructor
- CustomView(Context context) (if created programmatically)
- CustomView(Context context, AttributeSet attrs) (if created from xml)
- onFinishInflate (assuming you used...