Bogdan Melnychuk

Results 40 comments of Bogdan Melnychuk

Did you enable proguard in your app? I think that is the reason

Unfortunately I am not that advance in proguard. Need to check and try it

What would I do 1. Create java classes to represent your json structure (just properties and relations) 2. Parse your json to your java object 3. Iterate over your objects...

Example covers everything. ``` YourCompilcatedTree sctructure = parseFromJson(); TreeNode root = TreeNode.root(); TreeNode usersRoor = new TreeNode(); for(User u : sctructure.getUsers()) { TreeNode uNode = new TreeNode(); usersRoor.addChildren(uNode); } root.addChildren(usersRoor);...

Every TreeNode contains your specific object to represent, so if you want to find this, you can iterate over them

You can do any styling per node, with using different view holders for nodes. in this case you would have one view holder for parent and one for child.

For now it is impossible to set custom animation, but is very easy to implement. I will add this asap

You can not reuse TreeNode structure, is it possible for you to re-create that structure?