Page MenuHomePhabricator

elm : move unrealize callback call before the content caching.
ClosedPublic

Authored by SanghyeonLee on Feb 24 2020, 3:17 AM.

Details

Summary

item edje and contents are cached for performance improvement in genlist & gengrid.
but to provide elm_genlist(gengrid)_all_contents_unset method before the contents
are being cached, unrealize callback must be come before the unrealize process.

currently,
item_unrealize
1.unrealize process
2.contents cached
3.unrealize callback
4.all_contents_unset : nothing to unset in the item.

by this patch,
item_unrealize
1.unrealize callback
2.all_contents_unset : contents are unset.
3.unrealize process
4.contents(null) cached

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
SanghyeonLee created this revision.Feb 24 2020, 3:17 AM
SanghyeonLee requested review of this revision.Feb 24 2020, 3:17 AM
zmike accepted this revision.Feb 24 2020, 5:51 AM
zmike added a subscriber: zmike.

Seems okay and tests pass

This revision is now accepted and ready to land.Feb 24 2020, 5:51 AM
This revision was automatically updated to reflect the committed changes.