Ciao a tutti, non riesco proprio a risolvere questo problema, magari voi potete aiutarmi:
per mostrare gli item di una list view ho creato una classe che estende BaseAdapter:
Questo adapter viene utilizzato da questa activity:
Quando lancio l'applicazione nella list view viene mostrato un solo item. Questo è il logcat:
codice:
07-21 09:08:36.010 656-656/com.wix.caco85.sand I/ActivityThread﹕ Pub com.wix.caco85.sand.sandcontactsprovider: com.wix.caco85.sand.database.SandContactsProvider
07-21 09:08:36.044 656-656/com.wix.caco85.sand I/ActivityThread﹕ Pub com.wix.caco85.sand.sandmessagesprovider: com.wix.caco85.sand.database.SandMessagesProvider
07-21 09:08:36.462 656-659/com.wix.caco85.sand D/dalvikvm﹕ GC_CONCURRENT freed 200K, 2% free 14329K/14599K, paused 8ms+4ms
07-21 09:08:36.540 656-656/com.wix.caco85.sand D/gralloc_goldfish﹕ Emulator without GPU emulation detected.
07-21 09:09:00.380 656-656/com.wix.caco85.sand D/ChatActivity:﹕ Message: hey | Datetime: 14/7/14 9:34:23
07-21 09:09:00.380 656-656/com.wix.caco85.sand D/ChatActivity:﹕ Message: ciao caco | Datetime: 14/7/14 9:37:43
07-21 09:09:00.380 656-656/com.wix.caco85.sand D/ChatActivity:﹕ Message: h | Datetime: 15/7/14 8:2:32
07-21 09:09:00.380 656-656/com.wix.caco85.sand D/ChatActivity:﹕ Message: ciaooo | Datetime: 15/7/14 8:2:39
07-21 09:09:00.380 656-656/com.wix.caco85.sand D/ChatActivity:﹕ Message: heyla | Datetime: 15/7/14 8:6:29
07-21 09:09:00.380 656-656/com.wix.caco85.sand D/ChatActivity:﹕ Message: ciao | Datetime: 15/7/14 13:31
07-21 09:09:00.390 656-656/com.wix.caco85.sand D/ChatActivity:﹕ Message: hey | Datetime: 15/7/14 13:32
07-21 09:09:00.450 656-656/com.wix.caco85.sand D/SpeechBubbleAdapter:﹕ Message: hey | Datetime: 14/7/14 9:34:23 | Position: 0
07-21 09:09:00.460 656-656/com.wix.caco85.sand D/SpeechBubbleAdapter:﹕ Message: hey | Datetime: 14/7/14 9:34:23 | Position: 0
07-21 09:09:00.460 656-656/com.wix.caco85.sand D/SpeechBubbleAdapter:﹕ Message: hey | Datetime: 14/7/14 9:34:23 | Position: 0
07-21 09:09:01.150 656-659/com.wix.caco85.sand D/dalvikvm﹕ GC_CONCURRENT freed 65K, 1% free 14718K/14855K, paused 5ms+114ms