RecyclerTreeView icon indicating copy to clipboard operation
RecyclerTreeView copied to clipboard

support json

Open SudoDios opened this issue 5 years ago • 3 comments

Please add feature to create list from json. Thanks

SudoDios avatar Dec 07 '20 04:12 SudoDios

how to move items ?

SudoDios avatar Dec 07 '20 07:12 SudoDios

How to remove item (s) ? How to update item ?

SudoDios avatar Dec 07 '20 09:12 SudoDios

Use fastJson to parse the file . Use custom Node class

Node<JSONObject>{ JSONObject content; ArrayList<Node> childrenList; JSONArray children. }

Parse the root json object recursively, parse it into a root Node. While modifying the data, also apply it to the original json content and children nodes.

Sort, expand, move, piece of a cake.

KnIfER avatar May 13 '21 11:05 KnIfER