I have a list of items lets say for example “a”, “b”, “c”. As an input from the user, i would like to have an order specified for these items, for example {a, c, b} or {b, c, a} etc. Is there a standard way in android to take these kinds of inputs or it would be great if anyone could suggest a way to achieve this.
Share
This is an overly broad question. Questions like how long the list is could be may be important, but:
I’d recommend a drag and drop function for the user reordering of listview items by drag and drop using android as that would be pretty natural and fluid for the user to use for reordering.
Then you can save your listview state: Saving advanced state of an Android Listview If you wanted to save it to a DB or something I don’t know because of the overly broad question, but you could do anything like that too.