Pages

Wednesday, August 12, 2015

Field naming convention for Android Java

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.
More: Code Style Guides

No comments: