AndroidTreeView icon indicating copy to clipboard operation
AndroidTreeView copied to clipboard

Stackoverflow exception

Open cometThFr opened this issue 9 years ago • 1 comments

on android sdk below 5.x (i.e. kitkat, icecream sandwich, ...) when activity/fragment of our app is going into standby mode (=display timeout) a stackoverflow exception is thrown if at least one node of treeview is expanded. only in case of treeview is completly collapsed from the beginning the app can go to saveinstancestate without stackoverflow exception. what can we do to avoid this exception?

cometThFr avatar Dec 07 '16 15:12 cometThFr

You could save the state of the TreeView and destroy it, to recreate it when the display is unlocked. You will need to do some work to achieve this, but I think it's the easiest way. But I don't know where the exception can come from, do you have some code/stacktrace?

LukasJue avatar Dec 08 '16 07:12 LukasJue