Page MenuHomePhabricator

Efl.Ui.Factory_Bind work on string
Open, HighPublic

Description

efl_ui_factory_bind(obj, "key", factory); currently means that we will call efl_content_set(efl_part(obj, "key"), factory.create()). This make it a slightly weird API as we could expect it to be directly applied on a part instead of hiding it like this. Should we move this API into all our part?

cedric created this task.Aug 20 2019, 5:08 PM
cedric triaged this task as High priority.
zmike added a comment.Tue, Sep 3, 10:04 AM

Hm on one hand I don't like obfuscating stuff like this, on the other hand I think we should try to keep mvvm separate from non-mvvm API. I think the current state is fine?