[TIMOB-8839] BlackBerry: Implement Simple TableViewRows
GitHub Issue | n/a |
Type | Story |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-02-10T09:46:47.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.1.0, 2013 Sprint 03 BB, 2013 Sprint 03 |
Components | BlackBerry |
Labels | n/a |
Reporter | Francois Boisvert |
Assignee | Josh Roesslein |
Created | 2012-04-20T11:32:13.000+0000 |
Updated | 2017-03-08T18:11:14.000+0000 |
Description
Feature
Implement TableViewRow proxies which support the simple row style.
For simple rows (title, leftImage, etc) can probably use the Cascades
StandardListItem. This is already implemented for using plain objects for the data array.
Developers should also be able to listen for click and swipe events on rows.
Acceptance Test
1. Download the test case (tableview-test.zip) which includes the resources.
2. Create a project with the resources and run the app.
3. A list of items should appear with title text and a left image.
4. After a few seconds the last item should change to a pear.
5. Try clicking various rows. The text should change to "Click!" for a few seconds.
The text should revert back to its original value.
Attachments
sz: You can use the GridListLayout
Seems to me like it relates more closely to HeaderListItem and/or StandardListItem
Work in progress: https://github.com/Macadamian/titanium_mobile/pull/130 Using a custom control based on the container control for the list item.
OK, it seems this control doesn't really affect KS in a major way. The only thing that we can't do without it is enable/disable list elements, change font color, put objects instead of text. KS is functional without that. We are using alert dialogs instead of disabling items in the list for the time being.
This control is not supported directly by Cascades. It will have to be implemented in a custom way. Without it, TableView still is usable and allows for text content. TableViewRow might not be necessary for Beta. To be discussed.
Closing ticket as resolved.