我有json和wnt在网格视图中shw数据 [英] i have json and wnt to shw data in grid view

查看:93
本文介绍了我有json和wnt在网格视图中shw数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以帮助我thnx提前

Can Anybody is there to help me thnx in Advance

推荐答案

你说你有JSON数据,所以先将它存储在一个数组然后你可以使用 setAdapeter() gridview方法来填充其中的数据。



请参阅JSON和Gridview:

http://www.androidbegin .com / tutorial / android-json-parse-images-and-texts-tutorial / [ ^ ]

http://javatyro.blogspot.in/2013/07/android-gridview-example.html [ ^ ]

http://www.learn-android-easily.com/2013/09/android-custom-gridview-example.html [ ^ ]

http://javatechig.com/android/android-gridview-example- building-image-gallery-in-android [ ^ ]



提示:转到自定义列表视图。它比Gridview容易得多:)



-KR
You're saying that you have JSON data, so first store it in an Array and then you can use setAdapeter() method of gridview to populate the data within it.

See the examples of JSON and Gridview :
http://www.androidbegin.com/tutorial/android-json-parse-images-and-texts-tutorial/[^]
http://javatyro.blogspot.in/2013/07/android-gridview-example.html[^]
http://www.learn-android-easily.com/2013/09/android-custom-gridview-example.html[^]
http://javatechig.com/android/android-gridview-example-building-image-gallery-in-android[^]

Tip : Go for Custom Listview. It is much easier than Gridview :)

-KR


这篇关于我有json和wnt在网格视图中shw数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆