Android Follow Field Naming Conventions

Follow Field Naming Conventions

  • Non-public, non-static field names start with m.
  • Static field names start with s.
  • Other fields start with a lower case letter.
  • Public static final fields (constants) are ALL_CAPS_WITH_UNDERSCORES.

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

Posted in Android, Tips and Tricks Tagged with: ,