path: root/src/examples/elementary/efl_ui_collection_view_example_1.c
diff options
authorMarcel Hollerbach <>2019-11-20 12:36:02 +0000
committerMarcel Hollerbach <>2019-11-25 13:31:24 +0100
commitf7868fd28cfc2a941601cd11e4598abf77e17c6c (patch)
treeb63288cbe76988f6b3bf387b63d9673179c2524b /src/examples/elementary/efl_ui_collection_view_example_1.c
parent3b743715a0812a426602e885ca3ce55c32407c35 (diff)
efl_ui_multi_selectable: clean this up
this commit merges common functions from efl_ui_multi_selectable and efl_ui_multi_selectable_async. Additionally, the two different aspects of accessing the elements in a multi_selectable widget (numerical or object based) are now abstracted into interfaces called range_numeric and range_object. numeric APIs are also prefixed with id's, so its possible for one widget to implement both (if there will ever be the demand to do that in future). The main reason for this split is: - there is no good common path between mvvm based multi_selectable and object based multi_Selectable, so there is no way that both sides would benefit, without the other one suffering. - If we find later on the demand to implement both on one widget, we now can fully do that - Common API is available for both types, so its less API and less confusion for the API user. ref T7871 ref T8265 Reviewed-by: Cedric BAIL <> Differential Revision:
Diffstat (limited to 'src/examples/elementary/efl_ui_collection_view_example_1.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/elementary/efl_ui_collection_view_example_1.c b/src/examples/elementary/efl_ui_collection_view_example_1.c
index 72960651fb..3255b17d4d 100644
--- a/src/examples/elementary/efl_ui_collection_view_example_1.c
+++ b/src/examples/elementary/efl_ui_collection_view_example_1.c
@@ -96,7 +96,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev)
96 li = efl_add(EFL_UI_COLLECTION_VIEW_CLASS, win, 96 li = efl_add(EFL_UI_COLLECTION_VIEW_CLASS, win,
97 efl_ui_collection_view_position_manager_set(efl_added, position_manager), 97 efl_ui_collection_view_position_manager_set(efl_added, position_manager),
98 efl_ui_view_model_set(efl_added, model), 98 efl_ui_view_model_set(efl_added, model),
99 efl_ui_multi_selectable_async_select_mode_set(efl_added, mode), 99 efl_ui_multi_selectable_select_mode_set(efl_added, mode),
100 efl_ui_collection_view_factory_set(efl_added, factory)); 100 efl_ui_collection_view_factory_set(efl_added, factory));
101 101
102 efl_content_set(win, li); 102 efl_content_set(win, li);