Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TIMOB-8839: Implement UI.TableViewRow (work in progress) #130

Open
wants to merge 1 commit into
base: blackberry
Choose a base branch
from

Conversation

dcampbell-macadamian
Copy link

Reviewer: Alex

Change Log:

  • added leftImage and rightImage properties
  • created NativeListViewRowObject class
  • added createTableViewRow method to Ti.UI
  • created TiUITableViewRow class
  • modified app.js for testing

Test Cases:

  • build tibb
  • build tibbtest
  • run tibbtest
  • a table list with 50 labels should appear

Problems:

  • unable to get left and right images to appear
  • when clicking on the text of a list item, the selection is off set

https://jira.appcelerator.org/browse/TIMOB-8839

Reviewer: Alex

Change Log:
- added leftImage and rightImage properties
- created NativeListViewRowObject class
- added createTableViewRow method to Ti.UI
- created TiUITableViewRow class
- modified app.js for testing

Test Cases:
- build tibb
- build tibbtest
- run tibbtest
- a table list with 50 labels should appear

Problems:
- unable to get left and right images to appear
- when clicking on the text of a list item, the selection is off set

https://jira.appcelerator.org/browse/TIMOB-8839
@@ -97,8 +105,16 @@ void NativeListViewObject::setupEvents(TiEventContainerFactory* containerFactory
/*********** ListViewItemFactory class *************/
bb::cascades::VisualNode* ListViewItemFactory::createItem(bb::cascades::ListView*, const QString&)
{
bb::cascades::StandardListItem* item = new bb::cascades::StandardListItem();
return item;
TiListViewRow* row = new TiListViewRow();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem with that (which I had) is that in this case we didn't reuse the rows we alread created which is wrong I think. We need to find way to reuse them.

@alexandergalstyan
Copy link

Click event response taking long time to get handled. Not sure why that happenning, but that's probably an urgent issue.
That also could be problem with my simulator, so please confirm you don't have such issues.

@alexandergalstyan
Copy link

Update apidoc

@alexandergalstyan
Copy link

Add PR Link to JIRA

@alexandergalstyan
Copy link

Merge with upstream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants