{ "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,
\nI'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?
Thanks a million for any help on this!
\nCheers,
\nLaura
\n_____________________________________________
var win = Titanium.UI.createWindow({
\nbackgroundColor : 'black'
\n});
var view1 = Ti.UI.createView({
\nbackgroundColor:'red'
\n
\n}); var l1 = Ti.UI.createLabel({
\ntext:'View 1',\ncolor:'#fff',\nwidth:'auto',\nheight:'auto'
\n
\n}); view1.add(l1);
\nvar view2 = Ti.UI.createView({
\nbackgroundColor:'blue'
\n
\n}); var l2 = Ti.UI.createLabel({
\ntext:'View 2',\ncolor:'#fff',\nwidth:'auto',\nheight:'auto'
\n
\n}); view2.add(l2);
\nvar view3 = Ti.UI.createView({
\nbackgroundColor:'green'
\n
\n}); var l3 = Ti.UI.createLabel({
\ntext:'View 3',\ncolor:'#fff',\nwidth:'auto',\nheight:'auto'
\n
\n}); view3.add(l3);
\nvar view4 = Ti.UI.createView({
\nbackgroundColor:'black'
\n
\n}); var l4 = Ti.UI.createLabel({
\ntext:'View 4',\ncolor:'#fff',\nwidth:'auto',\nheight:'auto'
\n
\n}); view4.add(l4);
\nvar scrollView = Titanium.UI.createScrollableView({
\nviews:[view1,view2,view3,view4],\nshowPagingControl:true,\n pagingControlHeight:30,
\n
\n}); win.add(scrollView);
\nwin.open();