[AC-3062] currentPage in scrollableView
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-04-09T14:44:08.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | process |
Assignee | Devang Gandhi |
Created | 2012-02-13T03:35:43.000+0000 |
Updated | 2016-03-08T07:48:06.000+0000 |
Description
Hello
Here is the problem :
- create a scrollableView
- add an event listener to 'scroll' event
- scroll to first view
- delete all views
- myScrollableView.currentPage = -1 instead of 0
...
myScrollableView.removeView(myScrollableView.views[0]);
myScrollableView.removeView(myScrollableView.views[0]);
myScrollableView.removeView(myScrollableView.views[0]);
Ti.API.info(player.ui.mainView.currentPage);
Thank you
Are you trying to do this, as i have done in the code attached?
posted a feedback to the answer