I have a custom component with a texttView and a button. I want to
display this in a simple list.

customComponent = new conversationListView (this, "blah");
        arrayAdapter1= new ArrayAdapter <String>(this,
customComponent.getId(), customComponent.textView.getId());


I get an error saying some resourceID is 0xff(more fs).I think the
array adapter initialization is causing this. I am creating a new
custom component and not using XML. Could this be the reason? If it
is, how do I make it work without using an XML layout? Also, is the
"customComponent.textView.getId()" parameter the correct way to access
the textView?

Thanks,
Sylvester
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to