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);

Alex Donnini

On Nov 17, 10:25 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
> alexdonniniwrote:
> > Next, I need to make sure that each and every "kill" button is wired,
> > not just the one for the first item in the list.
>
> > In order to do that, do you think it would be sufficient to set up a
> > loop ranging across all members of the dataset (in my case an
> > ArrayList) in getView?
>
> Eek!
>
> I mean, that shouldn't be necessary.
>
> Just "wire" each button as it is created. If the button has not been
> created yet, it cannot be clicked.
>
> --
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to