in the adapter I have something like this
protected View getHeaderView(String caption, int index,
View convertView, ViewGroup parent) {
and in the caption variable I have one string. This string is passed along the adapter
adapter.addSection("the string", myadapter);
How can I pass more than one String? For example I have String A and String B, how can I pass them to the adapter and how can I read them latter on? I need something like this
adapter.addsection(a, b, myadapter);