在开发J2EE Web应用程序我通常会安排我的包结构通过以下方式
When developing J2EE web applications I would typically organise my package structure in the following way
com.jameselsey< applicationName的方式>
这让我保持特定的角色/任务地点举办我的课。
This allows me to keep my classes organised in locations specific to their roles/tasks.
有没有为Android等效?我一直没能找到任何指引,然而,我在找包层次结构/结构的采用的标准
Is there an equivalent for Android? I haven't been able to find any guidelines as yet, I'm looking for an adopted standard of package heirarchy/structuring
感谢
如果您使用的是DI框架,是的,他们往往会说出他们way..but DI和MVC两者都有些新的Android版并没有很多的开发者正在使用这些命名模式。
If you are using a DI framework yes they tend to name them that way..but both DI and MVC are somewhat new to Android and not a lot of devs are using those naming patterns.
上一篇:如何编写和Android中读取手势输入文字?手势、输入文字、Android
下一篇:Android的ArrayAdapter和JSONArrayAndroid、ArrayAdapter、JSONArray