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

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -