1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    88
    Answers
    3
    Vote Rating
    0
    Marc-QNX is on a distinguished road

      0  

    Default Unanswered: Event for DataItem becoming visible on the screen? (or: loading thousands of images)

    Unanswered: Event for DataItem becoming visible on the screen? (or: loading thousands of images)


    I have a dataview with a few thousand items. I don't want to render them all in advance, but only the first time they become visible on the screen.

    I've tried adding a listener to the show event, which didn't work, and I also tried the painted event, which seems to trigger for all items when the dataview is created.

    What's the best way to do this? The items are images, so I am basically trying to avoid doing all of the network requests in advance as this hangs the UI for several seconds.

    EDIT: clarification -- I do want them all to be rendered normally, I would simply not set the img src until the item is displayed on the screen

  2. #2
    Sencha User
    Join Date
    Aug 2011
    Posts
    88
    Answers
    3
    Vote Rating
    0
    Marc-QNX is on a distinguished road

      0  

    Default


    Just found out about dataview paging... that seems to be the best option.

    Now looking to find a solid example on implementing it... my main problem with this will be how to implement a dataview page that will nicely fill the screen on phones with various resolutions when we're displaying a dataview of image thumbnails...

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi