Hello,
I Have a TableView and I put my code (text - image and etc) in onRowRender but every time scroll down and scroll up again doing my insert code I want a listener only one time like onRowInsert.
thank you
Hello,
I Have a TableView and I put my code (text - image and etc) in onRowRender but every time scroll down and scroll up again doing my insert code I want a listener only one time like onRowInsert.
thank you
That’s not the way out tableView works. Rows that are off screen are disposed of to keep memory low. Only the rows on screen and maybe a couple off screen either way are kept in memory. The rows on screen should not be re-rendering (I don’t believe)
Rob
for example I have a TableView with 100 rows,my screen size can show 5 of them(1-5), when I scroll down show another 5 rows (5-10), when I scroll to top to show The first five items(1-5) it’s re-rendering. I don’t want re-render again it’s renderd in previous render
Once the rows are off-screen it automatically Deletes the row, and when needed to be shown it automatically re-renders,
This is to improve efficiency. I dont believe you can do something about it.
That’s not the way out tableView works. Rows that are off screen are disposed of to keep memory low. Only the rows on screen and maybe a couple off screen either way are kept in memory. The rows on screen should not be re-rendering (I don’t believe)
Rob
for example I have a TableView with 100 rows,my screen size can show 5 of them(1-5), when I scroll down show another 5 rows (5-10), when I scroll to top to show The first five items(1-5) it’s re-rendering. I don’t want re-render again it’s renderd in previous render
Once the rows are off-screen it automatically Deletes the row, and when needed to be shown it automatically re-renders,
This is to improve efficiency. I dont believe you can do something about it.