What is the naming convention for Android?

Nam Phong

New member
What is the naming convention for Android?
Answer
Naming conventions
Upper CamelCase is used for classes. Lower camelCase is used for methods, local variables, and instance variables. Abbreviations and acronyms should use camel case as normal words (e.g., XmlHttpRequest , QrCodeReader , userId ). Constants should be ALL_CAPS .
 

Tìm kiếm

Back
Top