Thank you so much for your help! It worked great and fast with MergeAdapter..
Preview: http://snapplr.com/803q Very nice :) On 19 sep, 19:16, Mark Murphy <[email protected]> wrote: > Wouter wrote: > > Ok but is the MergeAdapter not better for adding a listadapter to the > > listview? or how can i do that too with SackOfViewsAdapter? > > The MergeAdapter uses the SackOfViewsAdapter. If you wish to use > MergeAdapter, feed it the inflated views and your other adapters, as per > the demo: > > MergeAdapter adapter=new MergeAdapter(); > > adapter.addAdapter(buildFirstList()); > adapter.addView(buildButton()); > adapter.addAdapter(buildSecondList()); > > setListAdapter(adapter); > > In your case, addView() would be passed the results of an inflation. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Need help for your Android OSS project?http://wiki.andmob.org/hado --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

