Android Define Fields in Standard Places

Fields should be defined either at the top of the file, or immediately before the methods that use them.

Source: http://source.android.com/source/code-style.html

Posted in Android, Tips and Tricks Tagged with: ,