alexdonnini wrote: > Hello, > > I think I may have solved the problem. As I suspected (if I am right), > the solution was pretty simple. All I had to do is change: > > kill2 = (Button) findViewById(R.id.kill2); > to > kill2 = (Button) convertView.findViewById(R.id.kill2);
Ah, yes. findViewById(R.id.kill2) searches the root view of your Activity for the item identified as kill2. convertView.findViewById(R.id.kill2) searches your list row for the item identified as kill2. The latter is definitely what you want. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.4 Published! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---