📜  android 代码优化技巧 - 代码示例

📅  最后修改于: 2022-03-11 14:55:03.587000             🧑  作者: Mango

代码示例1
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.