software optimization in android code example
Example: android code optimization techniques
Table of contents.
Avoid creating unnecessary objects.
Prefer static over virtual.
Use static final for constants.
Use enhanced for loop syntax.
Consider package instead of private access with private inner classes.
Avoid using floating-point.
Know and use the libraries.