[英]Loading different sizes of images in list view android
Have been searching a lot for my requirement, didnt find any luck. 一直在寻找很多我的要求,没有找到任何运气。 I have a listview where I am using imageLoader to load the image in the view but the images are of different height.
我有一个listview,在这里我使用imageLoader在视图中加载图像,但是图像的高度不同。 If I give height to wrap_content it doesnot display anything.
如果我给wrap_content高度,它什么也不会显示。 and If I give minheight to it then it stucks on the same height.
如果我给它minheight,它会停留在相同的高度。
Any Help is greatly appreciated 任何帮助是极大的赞赏
就像@Pratik推荐的一样, StaggeredGridView是一个完美的解决方案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.