[android-developers] Re: button Click event inside custom listview.... Help!

2009-12-21 Thread Abhi
That didn't help. :( Can someone guide me to the right tutorial/sample code? Thanks, Abhishek On Dec 18, 11:03 pm, android09 pranav.jaja...@gmail.com wrote: Hi Abhishek, You can to through the below example for creatingcustomview. Follow the below link.

Re: [android-developers] Re: button Click event inside custom listview.... Help!

2009-12-21 Thread Patrick Plaatje
Abhishek, it's kinda hard to resolve this without any code, but here's how i solved it: in the main activity, i defined the following: setOnItemClickListener(new OnItemClickListener() { public void onItemClick(AdapterView? arg0, View arg1, int arg2, long

[android-developers] Re: button Click event inside custom listview.... Help!

2009-12-21 Thread Patrick Plaatje
: [android-developers] Re: button Click event inside custom listview Help! To: android-developers@googlegroups.com Abhishek, it's kinda hard to resolve this without any code, but here's how i solved it: in the main activity, i defined the following: setOnItemClickListener(new OnItemClickListener

[android-developers] Re: button Click event inside custom listview.... Help!

2009-12-21 Thread Abhi
: [android-developers] Re: button Click event inside custom listview Help! To: android-developers@googlegroups.com Abhishek, it's kinda hard to resolve this without any code, but here's how i solved it: in the main activity, i defined the following: setOnItemClickListener(new

Re: [android-developers] Re: button Click event inside custom listview.... Help!

2009-12-21 Thread Patrick Plaatje
Click event inside custom listview Help! To: android-developers@googlegroups.com Abhishek, it's kinda hard to resolve this without any code, but here's how i solved it: in the main activity, i defined the following: setOnItemClickListener(new OnItemClickListener

[android-developers] Re: button Click event inside custom listview.... Help!

2009-12-18 Thread Geoffrey Monté
I have the same request: this is my getView method : public static class ViewHolder { TextView libelle; TextView ville; Button map; Button itineraire; } public View getView(int position, View

[android-developers] Re: button Click event inside custom listview.... Help!

2009-12-18 Thread Kumar Bibek
What you are doing is right, holder.map.setOnClickListener(new OnClickListener(){ public void onClick(View v){ // Wirte your code } ); On Dec 18, 3:20 pm, Geoffrey Monté mgeoff...@gmail.com wrote: I have the same request: this is my getView method :         public static

[android-developers] Re: button Click event inside custom listview.... Help!

2009-12-18 Thread android09
Hi Abhishek, You can to through the below example for creating custom view. Follow the below link. http://www.anddev.org/basic_drag_and_drop-t3095.html I hope you will get the something from the above example. Best Luck. Thanks. On Dec 18, 7:47 am, Abhi abhishek.r.sha...@gmail.com wrote: Hi

[android-developers] Re: button Click event inside custom listview.... Help!

2009-12-17 Thread Kumar Bibek
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 abhishek.r.sha...@gmail.com wrote: Hi guys, I have my own custom adapter to create a custom listview with

[android-developers] Re: button Click event inside custom listview.... Help!

2009-12-17 Thread Abhi
Hi Kumar, Can you show me how to do that? I am not getting the right method to do this. Thanks, Abhishek On Dec 17, 11:49 pm, Kumar Bibek coomar@gmail.com wrote: Yes, you will have to define the listener inside the Custom adapter, in the getView Method, on the button. Thanks, Kumar

[android-developers] Re: button Click event inside custom listview.... Help!

2009-12-17 Thread Kumar Bibek
If you can post an excerpt of your getView method. I can show you Thanks, Kumar Bibek. On Dec 18, 10:02 am, Abhi abhishek.r.sha...@gmail.com wrote: Hi Kumar, Can you show me how to do that? I am not getting the right method to do this. Thanks, Abhishek On Dec 17, 11:49 pm, Kumar