After using this one same issue listviewitem click is not working.

On Thu, Oct 6, 2011 at 12:31 PM, Calin Perebiceanu
<[email protected]> wrote:
> Are the views you are using as rows clickable ? Make sure they are
> not.
>
> On 6 oct., 09:43, NaveenShrivastva <[email protected]>
> wrote:
>> Here :
>>
>>    @Override
>>                 public boolean isChildSelectable(int arg0, int arg1) {
>>
>>                 System.out.println("Child selected"+arg0+":"+arg1);
>>                     return true;
>>                 }
>>
>> is working fine ...but issue with expandablelistchild click and
>> listview child click,
>>
>>
>>
>>
>>
>>
>>
>> On Thu, Oct 6, 2011 at 11:50 AM, Naveen <[email protected]> wrote:
>> > Hello Developers,
>>
>> > I am facing a different type of issue, i have a layout which
>> > contains   One expandableListview and another Listview , i have
>> > designed this layout using framelayout now all click events works for
>> > expandable and listview but expandablechild and list child click
>> > events not working trying to find the issue but here each entry is
>> > fine on layout only click event on listchild and expandable child is
>> > not working...
>>
>> > Please check what i am missing
>>
>> >                expList.setOnChildClickListener(new OnChildClickListener() {
>>
>> >                                public boolean 
>> > onChildClick(ExpandableListView arg0, View arg1,
>> >                                                int arg2, int arg3, long 
>> > arg4) {
>>
>> >                                        Log.i("clicked ","clicked");
>>
>> >                                        
>> > Toast.makeText(getApplicationContext(),
>> >                                                        "Child ItemClicked 
>> > " + arg2 + " " + arg3,
>> >                                                        
>> > Toast.LENGTH_SHORT).show();
>>
>> >                                        return false;
>> >                                }
>> >                        });
>> > //============movie list click here
>> >                l1.setOnItemClickListener(new 
>> > AdapterView.OnItemClickListener() {
>> >                        public void onItemClick(AdapterView a, View v, int 
>> > position, long
>> > id) {
>> >                                Log.i("listview", "clicked1");
>>
>> >                                Toast.makeText(getApplicationContext(),
>> >                                                "Child ItemClicked " + 
>> > position ,
>> >                                                Toast.LENGTH_SHORT).show();
>>
>> >                        }
>> >                });
>>
>> > --
>> > 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
>
> --
> 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



-- 
Naveen Shrivastava
BCA+MCA(LAST SEM)+O/A/B Level(DOEACC SOCITY IT GOVT INDIA)

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