Android Studio 0.8.11
我刚刚完成了在Android上一个测试是建立一个应用程序,需要一个实时新闻,并将其显示在包名的最佳实践。然而,由于我把所有的课程都放在一个包裹里,导师非常关键。
我只是想知道什么是包装类的最佳做法。对于我特定的测试我下这个包名以下类:
com.viewsys.ncon
我的班是这些:
DBHelper <-- database creating and ugprading
DetailActivity <-- activity that add the NconDetailFragment
NconContract <-- properties of the database schema columns, table name
NconDetailFragment <-- detail fragment
NconListFragment <-- list fragment
NconViewPager <-- just the view pager
JsonNewsFeed <-- class that downloads and parses the json format
MainActivity <-- Main activity
NewsFeed <-- class of properties getters/setters for news feed
NewsFeedDB <-- simple array list to store all the object from the sqlite3 DB
SplashActivity <-- activity that add the splashFragment and the NconListFragment
SplashFragment <-- splash fragment
Utilities <-- just some simple utility functions
非常感谢您的任何建议,
对我来说你做得很好。你只有十三堂课。无需将它们存放在不同的目录中。 – greenapps 2014-10-07 18:57:42