While this is a very comprehansive guide, you would probably still need to embrace and learn the recommended Java code style in your code.
Seeking to be an advanced Android developer? Leading a team to a better work process? We'll aim to cover a bunch of development process steps and best practices. Providing a "cook book" for successful, agile, clean process. Area we'll talk about: REST, Android studio, Gradle, Maven, ProGuard, Intellij Inspections, Lint, Build variants, Flavours, Strict mode, MAT, Google play beta and rollouts, Graphical design, Performance, Automation, Unit testing, Git workflow, Jenkins... And much more!
Wednesday, December 11, 2013
Android coding style and your Android Studio
Android doesn’t have an official coding style, but a damn good place to base your code style on is the official Code Style Guidelines for Contributors.
While this is a very comprehansive guide, you would probably still need to embrace and learn the recommended Java code style in your code.
While this is a very comprehansive guide, you would probably still need to embrace and learn the recommended Java code style in your code.
Monday, November 4, 2013
Decoupling your Android code
Android as a platform offers a lot of different components to be used around. In a single Activity you might find yourself with a stack of Fragments, Views, Model data, adapters, Action bar actions, View actions (click), context menus and more.
Aiming to combine them all in an elegant way that will guarantee you with flexible and modular code will require you to “decouple” them from each other. That way, you will have the opportunity to re-use them, and make future changes easier.
Aiming to combine them all in an elegant way that will guarantee you with flexible and modular code will require you to “decouple” them from each other. That way, you will have the opportunity to re-use them, and make future changes easier.
Saturday, October 19, 2013
Styles, Themes and dimens = CSS ?
There are many approaches to how to implement the entire world of styles themes and dimens,
one approach is to use it like CSS - where every View in a Layout is set with his own style and dimen.
Monday, September 23, 2013
Locale language and the ISO-639-1 fix
If you ever want to have a "standard" naming convention for communicating Language code with a 3rd party service, you will want to have a common interface for that. For this purpose there's ISO reference called ISO-639-1 which Android is using.
So every thing is cool and the ISO can be used safely? Not 100%.
So every thing is cool and the ISO can be used safely? Not 100%.
Subscribe to:
Posts (Atom)