Yes, you will have to define the listener inside the Custom adapter,
in the getView Method, on the button.

Thanks,
Kumar Bibek

http://tech-droid.blogspot.com

On Dec 18, 7:47 am, Abhi <[email protected]> wrote:
> Hi guys,
>
> I have my own custom adapter to create a custom listview with
> checkbox, textview and button in each row. I want to implement onClick
> on Button and take different action based on which row button is
> pressed. How can I use onClickListener in this case? Define it inside
> getView? If so how?
>
> Thanks
>
> Abhishek

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
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