GridView控件的Android里面的ListView
我要显示的ListView以网格项目哪能呢?我已经尝试过了,但是当我打电话setadapter方法用于填充数据到ListView控件GridView的getview方法里面的数据不被填充。
I want show listview as a grid items how can I?I have tried it but when I call setadapter method for populating data into listview inside gridview's getview method data is not being populated.
我不明白为什么要添加一个ListView到gridview的....这可以使你的应用程序慢......只取线性布局,垂直方向作为根据需要动态地所需gridview..and元素加入到这个线性布局的条款......它看起来相同的GridView的ListView ......但会以更好的速度工作...
i dont understand why you are adding a listview to gridview....this can make your application slow...just take a linear layout with a vertical orientation as item of a gridview..and add required elements dynamically to this linear layout according to the need...it will look same as listview in gridview...but will work with a much better speed...
让我知道如果你想要更多的描述或样品code ....
Let me know if you want more description or a sample code....