Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

dynamicly adding elements to Jeffrey Sharkey's SeparatedListAdapter

 
Maciej Sawicki
Greenhorn
Posts: 2
Android Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
laks ray
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

thanks for any help

i am getting same as above problem.

Can you please help that needs to fixed by me

Thanks
laks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic