开发者

Parse a plist in android and display data in the list view

I am beginner in android, my requirement is to parse a plist file and display its result in the list view.

List view contains an icon image, Name of the icon and an image button which shows price to buy that icon.

I am stru开发者_JAVA百科ggling from few days on this, can anybody let me know the solution?

Thanks in advance,

Tejaswi Marakini


As plist contains xml, you should use xml parser for that. User SAX or Pull parser. Use custom list adapter to show the content in ListView

Have a look on these examples

http://android-er.blogspot.com/2010/04/simple-rss-reader-in-listview.html

http://p-xr.com/android-tutorial-how-to-parseread-xml-data-into-android-listview/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜