Category Archives: Best Coding Practices

Best Coding Practices in Android – Part 2

By | April 5, 2016

You can read the First Article about Best Coding Practices in Android here. Re-Use Elements and Layouts Use for reusing layouts. You can read about this from here. Use Different resources for different density Screens. Properly organize your images in mdpi, hdpi,xhdpi etc folders for corresponding screens. This helps to prevent blurry images. Read more… Read More »

Best coding practices in Android Part 1

By | April 5, 2016

Following conventions. Do not try to create a new convention for coding. Follow the standard convention. Like Class Naming. File Naming. Variable Naming. Code commenting. Code intending. Use Memory Efficient Structures The above code results in unnecessary Integer objects created. Android provides data structures which are more efficient for mapping values to other objects. This… Read More »