This is a migrated thread and some comments may be shown as answers.

What is your guide line for responsive image in list view?

1 Answer 24 Views
ListView (Mobile)
This is a migrated thread and some comments may be shown as answers.
Thanapat
Top achievements
Rank 1
Thanapat asked on 03 Mar 2014, 07:16 AM
Hi,

We would like to do Instagram-like interface and have problem incorporating images with Listview.  We found out that ListView doesn't displayed correctly if we do not specify height of the image.  However, we cannot set image height for every devices.  Please advice. 

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 04 Mar 2014, 04:35 PM
Hi,

I assume that you are using the listview with endless scrolling or press to load more feature. In virtual mode, the listview items are absolutely re-positioned below each other as the user scrolls, so the height of the item should be set. You may work around this by using pre-defined set of height values for different device types. 

Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
ListView (Mobile)
Asked by
Thanapat
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Share this question
or