It is unclear who "this" is in "this.findViewById(R.id.dButton)".
referred to the activity in the above post.

But changed it now to:

 deleteButton1=
(Button)customComponent.findViewById(R.id.deleteButton);


customComponent is initialized as:

customComponent= new ConversationListView(this);
                              --OR--
customComponent=
(ConversationListView)this.findViewById(R.layout.component);


both don't work.

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