{ "id": "63115", "key": "TIMOB-2483", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-07-20T14:58:28.000+0000", "created": "2011-04-15T03:20:58.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [ { "id": "19063", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94532", "key": "TIMOB-9901", "fields": { "summary": "TiAPI: Review and clean up platform bugs and reduce bug count by 20%.", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T22:44:00.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": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

Hi all,

\n

I'm facing some challenges with ScrollableView. The problem is\nthat
\nthe views aren't seamless, I first see a black box between views\nand
\nonly then appears the view. The code is simple, and almost the same\nas
\nthe KitchenSink code. I have a main window and I try to scroll\n4
\ncolored views. If you run the code you can see that the views\naren't
\npreloaded, but I want a continuous images scroll (like in
\nKitchenSink). What am I doing wrong? I have a simple window and\nin
\nKitchenSink the window with ScrollableView come from a TagGroup,\nis
\nthis the problem?

\n

Thanks a million for any help on this!

\n

Cheers,
\nLaura
\n_____________________________________________

\n

var win = Titanium.UI.createWindow({
\nbackgroundColor : 'black'
\n});

\n

var view1 = Ti.UI.createView({

\n
\nbackgroundColor:'red'\n
\n

}); var l1 = Ti.UI.createLabel({

\n
\ntext:'View 1',\ncolor:'#fff',\nwidth:'auto',\nheight:'auto'\n
\n

}); view1.add(l1);

\n

var view2 = Ti.UI.createView({

\n
\nbackgroundColor:'blue'\n
\n

}); var l2 = Ti.UI.createLabel({

\n
\ntext:'View 2',\ncolor:'#fff',\nwidth:'auto',\nheight:'auto'\n
\n

}); view2.add(l2);

\n

var view3 = Ti.UI.createView({

\n
\nbackgroundColor:'green'\n
\n

}); var l3 = Ti.UI.createLabel({

\n
\ntext:'View 3',\ncolor:'#fff',\nwidth:'auto',\nheight:'auto'\n
\n

}); view3.add(l3);

\n

var view4 = Ti.UI.createView({

\n
\nbackgroundColor:'black'\n
\n

}); var l4 = Ti.UI.createLabel({

\n
\ntext:'View 4',\ncolor:'#fff',\nwidth:'auto',\nheight:'auto'\n
\n

}); view4.add(l4);

\n

var scrollView = Titanium.UI.createScrollableView({

\n
\nviews:[view1,view2,view3,view4],\nshowPagingControl:true,\n    pagingControlHeight:30,\n
\n

}); win.add(scrollView);
\nwin.open();

{html}", "attachment": [], "flagged": false, "summary": "ScrollableView problem", "creator": { "name": "lauratorrentpuig", "key": "lauratorrentpuig", "displayName": "Laura Torrent Puig", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lauratorrentpuig", "key": "lauratorrentpuig", "displayName": "Laura Torrent Puig", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "208800", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Does not reproduce with release 2.1.0.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-21T00:00:35.000+0000", "updated": "2012-07-21T00:00:35.000+0000" }, { "id": "410823", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T22:44:00.000+0000", "updated": "2017-03-09T22:44:00.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }