[TIMOB-13408] Android: ListView Enhancement: Update itemCount automatically
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 3.1.0 |
Fix Version/s | n/a |
Components | Android |
Labels | n/a |
Reporter | Ping Wang |
Assignee | Ashraf Abu |
Created | 2013-04-05T19:18:09.000+0000 |
Updated | 2016-06-30T04:37:19.000+0000 |
Description
About the crash which fixed in this [commit](https://github.com/hieupham007/Titanium_Mobile/commit/6a099fe4dd0ca9630967a08b98808d51b5b38628), we should think about one way to automatically update itemCount, eg the getItemCount() method return the size of the data arraylist. So whenever the adapter is trying to notify data change, the data and the itemCount are always sync/consistent. This issue also forces the getSectionCount() method to be called in UI thread.
No comments