You can call that function from either your tableView onRowTouch listener or your onRowRender function.
No additional listeners are needed, you call it as shown above.
Thanks
You can call that function from either your tableView onRowTouch listener or your onRowRender function.
No additional listeners are needed, you call it as shown above.
Thanks
Sorry, that makes no sense for me. The aim is to reRender all visible rows. If I put new content in a function which is called by the standard onRowRender function, which is just called if the row is moved on screen, how will this function called if the row is already visible?
The onRowTouch is certainly just called if the row is touched, but what if the event is not initialized by a row touch event?
Maybe you can make it clear with a sample? Like my mentioned case above. The user presses an edit button in the toolbar, and all rows should show a delete button in consequence.
Thanks
Sorry sunmils, I was replying to mutatron’s question which was related to changing the color of rows at runtime.
Your best bet for doing what you ask, would be to loop through all of the rows in a for loop. I believe a convenience version of this was being worked on. Let me ask my fellow engineer about it for you.
Edit: I have checked with my fellow engineer and he has informed me that the row re-rendering function will be available shortly.
I am closing this thread now as the original post no longer applies, the row’s do get culled when they are off screen.
Please feel free to open up your own thread to discuss any issues at hand