Hey i have got a similar prb,but i dont exactly understand what u mean
by "*When your button
clicks, get the ViewHolder from the button's parent, get the position
out of the ViewHolder, and use that position."

*Could you help me with a code snippet so that i understand clearly??

Thanks

On Tue, Nov 18, 2008 at 8:55 AM, Mark Murphy <[EMAIL PROTECTED]>wrote:

>
> alexdonnini wrote:
> > 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