One of the fixes in 928 was the ability for newTableView’s to actually generate events when the table liView has been pulled down and let go… The spring reload effect.
I have it somewhat working in a app at the moment. Yea team!
However I have no idea how far I’ve moved the list or how fast to try and pace an animated spring release to reload graphic with it. I thought about a runtime listener and getting the y location of the list, but I have a feeling that might be painful.
What exactly would you like exposed? A function to give you the coords/velocity?
Let me know
[import]uid: 84637 topic_id: 31662 reply_id: 126509[/import]
I’m not on my laptop but none of the methods like scrollToIndex and getListPosition are documented. Many if not all of the events are just place holder pages
[import]uid: 19626 topic_id: 31662 reply_id: 126541[/import]
I recently tackled this situation by rolling my own.
More or less I just have the first row set as a text object. I set the tableview with toppadding to a negative number to offset the first rows height, thus causing row #2 to be positioned to look like it is row #1. Then in my runtime loop I get the position of the tableview and if its over a certain number I call my update online games function. You also put in checks to make sure you don’t keep calling the function every loop.
I update the text according to what is happening. It is simplistic at this point, but I can make it more fancy down the road. This also requires a mask large enough to obscure row #1’s content.
My only issue is the mask/rowcolor bug that causes images to be transparent if you make the rowcolor transparent. I was told it’s a known bug but it has been around since build .861. Hope it gets some attention soon!
I would post code snippets but I am at work. [import]uid: 56820 topic_id: 31662 reply_id: 126550[/import]
What exactly would you like exposed? A function to give you the coords/velocity?
Let me know
[import]uid: 84637 topic_id: 31662 reply_id: 126509[/import]
I’m not on my laptop but none of the methods like scrollToIndex and getListPosition are documented. Many if not all of the events are just place holder pages
[import]uid: 19626 topic_id: 31662 reply_id: 126541[/import]
I recently tackled this situation by rolling my own.
More or less I just have the first row set as a text object. I set the tableview with toppadding to a negative number to offset the first rows height, thus causing row #2 to be positioned to look like it is row #1. Then in my runtime loop I get the position of the tableview and if its over a certain number I call my update online games function. You also put in checks to make sure you don’t keep calling the function every loop.
I update the text according to what is happening. It is simplistic at this point, but I can make it more fancy down the road. This also requires a mask large enough to obscure row #1’s content.
My only issue is the mask/rowcolor bug that causes images to be transparent if you make the rowcolor transparent. I was told it’s a known bug but it has been around since build .861. Hope it gets some attention soon!
I would post code snippets but I am at work. [import]uid: 56820 topic_id: 31662 reply_id: 126550[/import]