I'm having a problem on Android where I've implemented an accordion to show/hide views. When the expansion button is clicked it opens the accordion section but when I test it on an Android device I get this error:
Wrapped java.lang.NumberFormat: unable to parse 'auto' as integerInside my window I have a scrollView which holds a number of content sections. Each of these content sections has a title view with an expansion button as well as another view which holds the content. When I click the expansion button in iOS the area opens without issue, but when I do the same in Android, I get an error popup which shows the above. The content then renders correctly.
I've included my code here: http://pastie.org/1926963
Is there a way to get this working without any errors? I had hoped to add in some animation to slide the areas open and closed.
Thanks,
Greg
PS. Sorry, I have no idea how to get links into these pages!
2 Answers
Greg
Unfortunately, Pastie is not responding, so I am unable to view your code. Would you paste it again to pastebin.com, please?
Thanks
That is a bug in iOS. See TIMOB-4123 the history from the Android side is TIMOB-3202. The size property should be available after the view is created.
Your Answer
Think you can help? Login to answer this question!