Slide 28
Slide 28 text
Avoid custom views if they are not extremely
necessary.!
Creating objects ahead of time is an important
optimisation. !
Initialise your stuff in OnAttachToWindow() method
when possible.!
If you do not need complex measurement just use
onSizeChanged() method.!
If you define own views, ensure you review the
ViewConfiguration class.!
When using custom attributes always recycle your
TypedArray.
Tips and tricks