Re: [android-developers] ListView Row not firing the click event
What exactly is the error message you are getting? --KK On Thu, Oct 6, 2011 at 3:46 PM, Naveen kumarnaveen.si...@gmail.com wrote: i am using custom list , it's l1.setAdapter(new EfficientAdapter(this)); l1.setFocusable(true); l1.setClickable(true); l1.setOnItemClickListener(new OnItemClickListener() { @Override public void onItemClick(AdapterView? adapter, View view, int pos, long id) { Log.i(listview, clicked1); Toast.makeText(getApplicationContext(), Child ItemClicked + pos , Toast.LENGTH_SHORT).show(); } }); it's not working -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] ListView Row not firing the click event
Error nothing getting just click event not working but i have written the click event code, Previous many sample i have done with custom list click event. when clicking on list then nothing happening but on list there is an image button that's click working fine but total row list is not clickable On Thu, Oct 6, 2011 at 5:41 PM, KK dioxide.softw...@gmail.com wrote: What exactly is the error message you are getting? --KK On Thu, Oct 6, 2011 at 3:46 PM, Naveen kumarnaveen.si...@gmail.com wrote: i am using custom list , it's l1.setAdapter(new EfficientAdapter(this)); l1.setFocusable(true); l1.setClickable(true); l1.setOnItemClickListener(new OnItemClickListener() { @Override public void onItemClick(AdapterView? adapter, View view, int pos, long id) { Log.i(listview, clicked1); Toast.makeText(getApplicationContext(), Child ItemClicked + pos , Toast.LENGTH_SHORT).show(); } }); it's not working -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] ListView Row not firing the click event
Try taking out these two lines. 06.10.2011 16:11, KK пишет: l1.setFocusable(true); l1.setClickable(true); -- Kostya Vasilyev -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] ListView Row not firing the click event
movielist.setAdapter(new EfficientAdapter(this)); movielist.setClickable(true); movielist.setFocusable(true); i have already tried that one nothing result same issue On Thu, Oct 6, 2011 at 6:07 PM, Kostya Vasilyev kmans...@gmail.com wrote: Try taking out these two lines. 06.10.2011 16:11, KK пишет: l1.setFocusable(true); l1.setClickable(true); -- Kostya Vasilyev -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] ListView Row not firing the click event
i am using custom listview android facing click event issue coding stub is fine here, plz guideline me On Thu, Oct 6, 2011 at 6:24 PM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: movielist.setAdapter(new EfficientAdapter(this)); movielist.setClickable(true); movielist.setFocusable(true); i have already tried that one nothing result same issue On Thu, Oct 6, 2011 at 6:07 PM, Kostya Vasilyev kmans...@gmail.com wrote: Try taking out these two lines. 06.10.2011 16:11, KK пишет: l1.setFocusable(true); l1.setClickable(true); -- Kostya Vasilyev -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] ListView Row not firing the click event
A custom ListView as in one you have written yourself? Or someone else other than the one that is in Android? If so, there might be problems with it. Kostya also asked for you to *remove *those two entries, did you *remove *them and try? Steven Studio LFP http://www.studio-lfp.com On Thursday, October 6, 2011 9:08:56 AM UTC-5, Naveen wrote: i am using custom listview android facing click event issue coding stub is fine here, plz guideline me On Thu, Oct 6, 2011 at 6:24 PM, NaveenShrivastva kumarnav...@gmail.com wrote: movielist.setAdapter(new EfficientAdapter(this)); movielist.setClickable(true); movielist.setFocusable(true); i have already tried that one nothing result same issue On Thu, Oct 6, 2011 at 6:07 PM, Kostya Vasilyev kman...@gmail.com wrote: Try taking out these two lines. 06.10.2011 16:11, KK пишет: l1.setFocusable(true); l1.setClickable(true); -- Kostya Vasilyev -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@googlegroups.com To unsubscribe from this group, send email to android-develop...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] ListView Row not firing the click event
Please find the attachment ... On Thu, Oct 6, 2011 at 7:55 PM, Studio LFP studio@gmail.com wrote: A custom ListView as in one you have written yourself? Or someone else other than the one that is in Android? If so, there might be problems with it. Kostya also asked for you to remove those two entries, did you remove them and try? Steven Studio LFP http://www.studio-lfp.com On Thursday, October 6, 2011 9:08:56 AM UTC-5, Naveen wrote: i am using custom listview android facing click event issue coding stub is fine here, plz guideline me On Thu, Oct 6, 2011 at 6:24 PM, NaveenShrivastva kumarnav...@gmail.com wrote: movielist.setAdapter(new EfficientAdapter(this)); movielist.setClickable(true); movielist.setFocusable(true); i have already tried that one nothing result same issue On Thu, Oct 6, 2011 at 6:07 PM, Kostya Vasilyev kman...@gmail.com wrote: Try taking out these two lines. 06.10.2011 16:11, KK пишет: l1.setFocusable(true); l1.setClickable(true); -- Kostya Vasilyev -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@googlegroups.com To unsubscribe from this group, send email to android-develop...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] ListView Row not firing the click event
If you have added any other view like radio button make it setfocasable(false) On Oct 6, 2011 3:46 PM, Naveen kumarnaveen.si...@gmail.com wrote: i am using custom list , it's l1.setAdapter(new EfficientAdapter(this)); l1.setFocusable(true); l1.setClickable(true); l1.setOnItemClickListener(new OnItemClickListener() { @Override public void onItemClick(AdapterView? adapter, View view, int pos, long id) { Log.i(listview, clicked1); Toast.makeText(getApplicationContext(), Child ItemClicked + pos , Toast.LENGTH_SHORT).show(); } }); it's not working -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] ListView Row not firing the click event
i have two view one is Expandablelist and other is listview plz guideline me how to handle here facing listchildclick event On Thu, Oct 6, 2011 at 8:17 PM, dinesh adwani mail.dineshadw...@gmail.com wrote: If you have added any other view like radio button make it setfocasable(false) On Oct 6, 2011 3:46 PM, Naveen kumarnaveen.si...@gmail.com wrote: i am using custom list , it's l1.setAdapter(new EfficientAdapter(this)); l1.setFocusable(true); l1.setClickable(true); l1.setOnItemClickListener(new OnItemClickListener() { @Override public void onItemClick(AdapterView? adapter, View view, int pos, long id) { Log.i(listview, clicked1); Toast.makeText(getApplicationContext(), Child ItemClicked + pos , Toast.LENGTH_SHORT).show(); } }); it's not working -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en