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++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -