var layout = [
{
title: "Parent 1",
isparent: true,
opened: false,
sub: [
{
title: "Child 1"
},
{
title: "Child 2"
}
]
},
{
title: "Parent 2",
isparent: true,
opened: false,
sub: [
{
title: "Child 3"
},
{
title: "Child 4"
}
]
}
];
How can show the above data using listview..Plez help....