forked from enlightenment/efl
elementary: make all view generate an event when the item is created.
Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D7447
This commit is contained in:
parent
b992cc479e
commit
50d675d6c1
|
@ -2099,7 +2099,7 @@ _efl_ui_layout_view_model_content_update(Efl_Ui_Layout_Data *pd, Efl_Ui_Layout_F
|
|||
request->factory = efl_ref(tracking->factory);
|
||||
request->tracking = tracking;
|
||||
|
||||
f = efl_ui_factory_create(tracking->factory, pd->connect.model, pd->obj);
|
||||
f = efl_ui_view_factory_create_with_event(tracking->factory, pd->connect.model, pd->obj);
|
||||
f = eina_future_then_from_desc(efl_future_then(pd->obj, f),
|
||||
eina_future_cb_easy(.success = _content_created,
|
||||
.success_type = EINA_VALUE_TYPE_OBJECT,
|
||||
|
|
|
@ -976,7 +976,7 @@ _efl_ui_list_view_efl_ui_list_view_model_realize(Eo *obj, Efl_Ui_List_View_Data
|
|||
tracking->obj = obj;
|
||||
tracking->pd = pd;
|
||||
|
||||
item->layout_request = efl_ui_factory_create(pd->factory, item->children, obj);
|
||||
item->layout_request = efl_ui_view_factory_create_with_event(pd->factory, item->children, obj);
|
||||
item->layout_request = efl_future_then(obj, item->layout_request);
|
||||
item->layout_request = eina_future_then_from_desc(item->layout_request,
|
||||
eina_future_cb_easy(.success = _content_created,
|
||||
|
|
Loading…
Reference in New Issue