Hi friends,

I'm stuck showing data [from json] in custom ListView.

I created a custom-rowlayout to display the object Student. However i am 
unable to display the objects Movie & Game in the ListView.
I tried it using array adapter( sample code ) - http://pastebin.com/HsTmQSbz

I'm only able to display String[] in a ListView.

Any suggestions on how to implement such a thing ?

This is my example JSON data to serialize .

{
    "studentname" : "ramesh",
    "class" : "IV",
    "favoritegames" : [
                        {"name":"angry birds"},
                        {"name":"need for speed"}
                    ],
    "favoritemovies" : [
                        {"name" : "MI-3"},
                        {"name" : "TinTin"}
                    ]
}

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