I have some data in json format like this.
{
"data": [
{
"name": "Online Earning",
"id": "172970482777411"
},
{
"name": "U Wanna Be My Friend",
"id": "193618510697929"
},
{
"name": "Photos That Will Take Your Breath Away",
"id": "102241993216852"
},
{
"name": "Dashing Mee",
"id": "218061968291332"
},
{
"name": "I want to be a good Muslim",
"id": "144132975732372"
},
{
"name": "Aik Dam Jhakaas",
"id": "988150887884868"
}
]
}
i want to create android listview which only show list of names from my given data. When i click the listview item it should give me name + id and move to next activity.
Please someone write the sample code for this problem.