{ "id": "140086", "key": "TIMOB-18069", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "21052", "description": "", "name": "Release 9.3.0", "archived": false, "released": true, "releaseDate": "2020-12-14" } ], "resolution": null, "resolutiondate": null, "created": "2014-11-20T15:00:17.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "engSchedule", "listsection", "listview", "search", "searchbar", "searchview" ], "versions": [], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-11-20T00:25:07.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "For now it is not possible to get count if items inside list (or section) filtered by search view on android. ListSection.itemCount is avaliable for iOS (however not documented) but not for android.", "attachment": [], "flagged": false, "summary": "Android: make ListSection.getItemCount() and/or getContentCount() public", "creator": { "name": "farwayer", "key": "farwayer", "displayName": "Far", "active": true, "timeZone": "Europe/Minsk" }, "subtasks": [], "reporter": { "name": "farwayer", "key": "farwayer", "displayName": "Far", "active": true, "timeZone": "Europe/Minsk" }, "environment": null, "comment": { "comments": [ { "id": "333177", "author": { "name": "farwayer", "key": "farwayer", "displayName": "Far", "active": true, "timeZone": "Europe/Minsk" }, "body": "It will be nice to get filtered items also.", "updateAuthor": { "name": "farwayer", "key": "farwayer", "displayName": "Far", "active": true, "timeZone": "Europe/Minsk" }, "created": "2014-11-21T03:45:58.000+0000", "updated": "2014-11-21T03:45:58.000+0000" }, { "id": "333187", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "Thank you for your suggestion. We will consider about it. ", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2014-11-21T06:35:25.000+0000", "updated": "2014-11-21T06:35:25.000+0000" }, { "id": "333345", "author": { "name": "farwayer", "key": "farwayer", "displayName": "Far", "active": true, "timeZone": "Europe/Minsk" }, "body": "I wrote small plugin to access search item count https://github.com/farwayer/TiListSearchItems Maybe it will be useful to somebody.", "updateAuthor": { "name": "farwayer", "key": "farwayer", "displayName": "Far", "active": true, "timeZone": "Europe/Minsk" }, "created": "2014-11-23T21:09:12.000+0000", "updated": "2014-11-23T21:09:12.000+0000" }, { "id": "437598", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR for Android: https://github.com/appcelerator/titanium_mobile/pull/10040\r\nIt will add itemCount/getItemCount to ListSection for Android", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-05-13T12:04:50.000+0000", "updated": "2018-05-13T12:04:50.000+0000" }, { "id": "456319", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "I've rebased the PR, added unit tests, cleaned up commit messages and altered to expose as {{Ti.UI.ListSection.filteredItemCount}} on Android. I *did not* implement a {{Ti.UI.ListSection.filteredItemCount}} on iOS, nor did I expose an {{Ti.UI.ListSection.itemCount}} on Android.\r\nI suspect for parity we'd want both to be done. The latter is likely pretty easy, but the iOS filtered item count may be more involved as the filter results are calculated on the {{ListView}} and aren't really \"shared\" down to the {{ListSection}} cc [~vijaysingh]", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-07-31T17:00:37.000+0000", "updated": "2020-07-31T17:00:37.000+0000" }, { "id": "456320", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "As a heads up, the Android ListView is going to be 100% rewritten to use RecyclerView in the near future, making this PR irrelevant. We can keep the feature request ticket, but it will have to be re-implemented.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-07-31T19:29:55.000+0000", "updated": "2020-07-31T19:29:55.000+0000" }, { "id": "457336", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/12029", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-10-26T15:59:34.000+0000", "updated": "2020-10-26T15:59:34.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }