Preparations before Android project development (3): android Project Development

Source: Internet
Author: User

Preparations before Android project development (3): android Project Development

Integrate Android into my life!

The first two blogs introduced some major aspects. This blog tells you some small details, which is also important for improving the experience and performance of our apps. Of course, these detailed work, you can do it later!

1: Some Common UIS, operations, and data processing can be placed in BaseActivity, which can be easily managed and reduce the amount of code.
2: before development, consider the use of the local cache mechanism as much as possible and use the cache well, which is of great help to improve the performance of our apps, however, we would like to remind you that if you are not good at using it, it will lead to a lot of problems. Please be careful!
3: the overall framework of the project should be used as far as possible, because the current framework on the market has been summarized by our predecessors and has been improved a lot, which is very convenient and powerful, here, we recommend XUtils, KJLibrary, Volley, SYNC-Http, Afinal, and thinkAndroid, which focuses on Xutils and KJLibrary, because these two frameworks integrate a lot of functions, such as network requests, image processing, and database storage, they are very easy to use!
4: Pay attention to the optimization of APP layout. These are the details of improving APP performance, because it takes time for Davlik to parse XML when loading an application. It is also necessary to optimize the XML layout, will save more time, see the http://blog.csdn.net/ZZ7ZZ7ZZ/article/details/9175141 for details

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.