That's the root cause below.
Since you're using a SimpleExpandableListAdapter, make sure to
understand the data structures it requires.
Also consider subclassing BaseExpandableListAdapter and implementing the
necessary methods. This might be easier than building those special data
structures for the "simple" adapter.
-- Kostya
26.06.2011 15:58, ?????? ??????????? ?????:
E/AndroidRuntime( 336): FATAL EXCEPTION: main
E/AndroidRuntime( 336): java.lang.IndexOutOfBoundsException: Invalid
index 5, s
ize is 0
E/AndroidRuntime( 336): at
java.util.ArrayList.throwIndexOutOfBoundsExce
ption(ArrayList.java:257)
E/AndroidRuntime( 336): at
java.util.ArrayList.get(ArrayList.java:311)
E/AndroidRuntime( 336): at
android.widget.SimpleExpandableListAdapter.ge
<http://android.widget.SimpleExpandableListAdapter.ge>
tChildrenCount(SimpleExpandableListAdapter.java:255)
--
Kostya Vasilyev
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en