Asynchronously load Image in Enyo -


i have enyo.list 2 items: enyo.image , text component. setsrc on image during onsetupitem.

this loads image , since have on 10 rows don't appear till images load. there anyway load these images asynchronously (additionally display image "fade-in" animation ?). thanks.

edit: totally wrote next paragraph backwards. list -is- flyweight version. correct set number of rows.

what may want replace list repeater. because of flyweight pattern in repeater might not requesting many images @ once.

another approach might derive new kind based on scroller detects when images scroll view , load them @ time. pretty involved approach , might need create kind based of image works hand-in-hand other kind.

you google lazy-loading strategies , see if can apply those.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -