Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - 2d Array Adapter?

2d Array Adapter?

Put your problem here if it does not fit any of the other categories.

2d Array Adapter?

Postby marka » Fri Mar 25, 2011 7:29 pm

Howdy,

New to Android development, sorry if this is a frequent question. I've not been able to find anything searching... Also new to the forum here.

I have a list view where I want to show multiple items per row. I've seen lots of examples of how to do this using a SimpleCursorAdapter with a database behind it, mapping individual columns to each item. However I've not seen anything that lets you put a basic 2d array behind it. That seems like a fairly obvious thing to want to do, so the fact that it doesn't seem to exist makes me wonder what I'm missing?

Failing a 2d array adapter, is my best bet to write a subclass of ArrayAdapter that's specific for a class that wraps the data for each item in the row?

Separately, is there a reason that a 2d array adapter class would be difficult to write? I've not looked at the source for any of the adapter classes yet. As above, this seems like something I'd find useful, vs. needing to subclass ArrayAdapter any time I had more than one item per row to display...

Thanks for any help / advice!

Mark
marka
Once Poster
Once Poster
 
Posts: 1
Joined: Fri Mar 25, 2011 7:19 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 9 guests