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

2 posts, 0 answers
  1. Thanapat
    Thanapat avatar
    2 posts
    Member since:
    Feb 2014

    Posted 03 Mar 2014 Link to this post

    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. 
  2. Petyo
    Admin
    Petyo avatar
    2438 posts

    Posted 04 Mar 2014 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
Back to Top