I am a new developer when it comes to mobile applications and an iOS user myself.
For an application we have a table with 4 items, each item can be ordered form position 1 to 4 .
Now on iOS I am used to dragging the item by holding a finger down on it and change it’s place. That does not seem to be the case on Android, I can not find an application on Android either which changes the position of an item.
How would you guys recommend on doing this?
Kind regards,
Vincent
Titanium provides a property for tableView “moving” which allows tableviewRow to be re-ordered in IOS, but there is no such property for android.
I would suggest 2 solutions here
1- if your row just contains text etc. then you can listen to events “dragStart” and “dragEnd” and get the interchange the contents of rows.
2- you can splice the row and add it at specific index, but it will not give the look and feel as it feels in iPhone case.