Back from a long and deep dive into native development, I am looking for a cross-platform approach again. As a test for myself (and Corona, of course) I decided to reproduce one of my native iPhone apps with Corona SDK. An important component of that app is a table view, and I was able to display my data with Corona table view quite nicely.
However, I don’t just display data, I need to give the user ability to delete some rows. I looked around and figured out that with some additional coding I can do that in Corona. However, its table view is a bit peculiar. If you tell it to delete the 3rd row, that row disappears. If you tell it to delete the third row again, nothing happens. My understanding is that the table view is created once, and you can’t really modify its core structure without creating another table view. It can hide the third row, but that row is still somewhere there.
Okay, I can delete some rows, fine. But I also need to give the user a possibility of reordering the rows - like, dragging the fifth row and dropping it into the second place. From looking at the API, and remembering my experience with deleting rows, I believe reordering of table rows isn’t possible in Corona at all, and won’t be possible even in the future.
Am I right or not?