Open puncsky opened 10 years ago
A lot of problems with database access.
The application is read-intensive and there is no need to maintain join tables. Use them as KV store.
App
Map<albumId, List<episodes>>
Map<episodeId, progress>
Server
Map<userId, List<AlbumId>
For global variables, subclassing instead of singleton.
http://stackoverflow.com/questions/708012/how-to-declare-global-variables-in-android
Other than database access, the biggest issue is the list rendering. We should get back to ViewHolder pattern. And the downloading view dictionary design is not scalable.
Now it is 70+MB. To control it under 40MB.