Win a copy of Head First Android this week in the Android forum!

Maciej Sawicki

Greenhorn
+ Follow
since Mar 17, 2009
Maciej likes ...
Android Mac OS X Eclipse IDE
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Maciej Sawicki

Hi,
I wat to know Your opinion about using Scientific method in testing and debugging. Is it only correct way? What do you think about intuitive approach?

regards,
Maciej Sawicki
11 years ago
Hi,
I'm using this code to make one big list view with multiple sections from multiple adapters. It's nice piece of code and it works fine. However i have small problem when i try to add sections dynamicly. I can add only one section and have problems with scrolling. Program crashes when adding second section or after scrolling list down and then trying to scroll it up.

This is my changed code:


and this is ddms output:


I see java.lang.ArrayIndexOutOfBoundsException but i have no idea what causes it.

I put rared source code here.


TIA for help.

regards,
Maciek
12 years ago