On Thu, May 10, 2012 at 11:59 AM, Narendra Singh Rathore <
nsr.curi...@gmail.com> wrote:

>
>
>> On Wed, May 9, 2012 at 5:49 PM, nageswara rao rajana <
>> nagu.raj...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> How to generate xml file form list view items.
>>> Please help me...........
>>>
>>>
> Did you want this or something else?
>
>

sry for this incomplete thread.
Well, I was suggesting this.

 lv.setOnItemClickListener(new OnItemClickListener() {

    public void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long
arg3) {
        // TODO Auto-generated method stub
        if(arg2==0)
    {
        setContentView(R.layout.one);

    }
        else
        {
        setContentView(R.layout.two);

        }

    }
});

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

Reply via email to