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
[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 - Problems with ListView

Problems with ListView

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Problems with ListView

Postby timweicker » Wed Jun 10, 2009 8:10 pm

Hello!


I've got a simple problem with ListView. I'd like to have a list that looks like this one:

----------------------------------------
Apartment 1
Icon1 Icon2 Icon3 Price: xxx
----------------------------------------
Apartment 2
Icon1 Price: xxx
----------------------------------------
Apartment 3
Icon1 Icon2 Price: xxx
----------------------------------------

I've got all informations in an array of objects, which have the variables "name" (String, "Apartment 1 / 2 / 3"), "parking" (boolean, -> Icon 1 (if true display icon, if false don't) and other two variables like "parking".

I think it has sth. to do with ArrayAdapters, but I don't know how they work.
Does anyone know how I can "split" the text fiels of my list into several textviews? And how can I link them with the arrays?

Can someone help me?

Regards,
Tim
timweicker
Junior Developer
Junior Developer
 
Posts: 20
Joined: Wed Jun 10, 2009 7:55 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 17 guests