Monday, June 8, 2015

Do's and Don'ts for Android development, by Futurice developers

Do's and Don'ts for Android development, by Futurice developers - Hallo sahabat Google Android Developer Tutorial, Pada Artikel yang anda baca kali ini dengan judul Do's and Don'ts for Android development, by Futurice developers, kami telah mempersiapkan artikel ini dengan baik untuk anda baca dan ambil informasi didalamnya. mudah-mudahan isi postingan yang kami tulis ini dapat anda pahami. baiklah, selamat membaca.

Judul : Do's and Don'ts for Android development, by Futurice developers
link : Do's and Don'ts for Android development, by Futurice developers

Baca juga


Do's and Don'ts for Android development, by Futurice developers

Best practices in Android development


Use Gradle and its recommended project structure

Put passwords and sensitive data in gradle.properties

Don't write your own HTTP client, use Volley or OkHttp libraries

Use the Jackson library to parse JSON data

Avoid Guava and use only a few libraries due to the 65k method limit

Use Fragments to represent a UI screen

Use Activities just to manage Fragments

Layout XMLs are code, organize them well

Use styles to avoid duplicate attributes in layout XMLs

Use multiple style files to avoid a single huge one

Keep your colors.xml short and DRY, just define the palette

Also keep dimens.xml DRY, define generic constants

Do not make a deep hierarchy of ViewGroups

Avoid client-side processing for WebViews, and beware of leaks

Use Robolectric for unit tests, Robotium for connected (UI) tests

Use Genymotion as your emulator

Always use ProGuard or DexGuard







Demikianlah Artikel Do's and Don'ts for Android development, by Futurice developers

Sekianlah artikel Do's and Don'ts for Android development, by Futurice developers kali ini, mudah-mudahan bisa memberi manfaat untuk anda semua. baiklah, sampai jumpa di postingan artikel lainnya.

Anda sekarang membaca artikel Do's and Don'ts for Android development, by Futurice developers dengan alamat link https://googleandroiddevelopertutorial.blogspot.com/2015/06/do-and-don-for-android-development-by.html

Artikel Terkait

Do's and Don'ts for Android development, by Futurice developers
4/ 5
Oleh

Berlangganan

Suka dengan artikel di atas? Silakan berlangganan gratis via email