CodePudding user response:
1. Performance optimization and considering the size of the native reference resources the complexity of the layout file2. Other aspects optimization: code readability annotation application architecture
CodePudding user response:
(Java, as one of the Android development basic language, it is easy to imagine the Android and Java performance optimization principle in most cases is common)<1> Code optimization:
The simplicity and readability of the program, for both under the condition of different emphasis will be different, this can be reference principle of the optimal algorithm of space and time trade-off,
<2> Application of fault tolerance:
Also known as the robustness of the program, which determines the customer's satisfaction with the
<3> Each part in the program execution efficiency:
Method is the basic unit of process scheduling unit, so the method of execution efficiency often directly affects the efficiency of the whole program
<4> Application system resources consumption:
This is mainly aiming at questions between resource consumption and efficiency, it is also a typical weigh the pros and cons between time and space ()
<5> The reasonable design of the UI