I am quite new at using ELF for developing wearable native applications and, after reading the full documentation and examples, there are several issues which I don’t know how to fix them… I am not sure what it is wrong..
The idea is quite simple… when the app is launched, a list of several items is displayed. Once the user taps on one of them, a new screen will show up with information. I found an example of a similar app which did this with naviframes and displaying one on top of the other one.
The problem is the list is displayed correctly without using naviframes, but once I try to implement them .. a black screen is displayed with no sign of the list.
ad->list = elm_list_add(ad->nf);
elm_list_item_append(ad->list, "Nuevo", NULL, NULL, NULL, NULL);
elm_list_item_append(ad->list, "Relajación", NULL, NULL, NULL, ad);
elm_list_item_append(ad->list, "Test", NULL, NULL, NULL, NULL);
elm_list_item_append(ad->list, "Test", NULL, NULL, NULL, NULL);
elm_object_content_set(ad->nf, ad->list);
/* Change the scroller policy to fix the scroll only vertically */
elm_scroller_policy_set(ad->list, ELM_SCROLLER_POLICY_OFF, ELM_SCROLLER_POLICY_AUTO);
/* Enable bounce effect when the list reaches the vertical limits */
elm_scroller_bounce_set(ad->list, EINA_FALSE, EINA_TRUE);
evas_object_show(ad->list);
And at the end, I have this final code line:
/* Show window after base gui is set up */
evas_object_show(ad->win);
If I “elm_object_content_set” the list directly to the conform, it works; but if I do it through the naviframe, it does not.
Do you know why is this happening?
Issue regarding EFL
Hi all,
I am quite new at using ELF for developing wearable native applications and, after reading the full documentation and examples, there are several issues which I don’t know how to fix them… I am not sure what it is wrong..
The idea is quite simple… when the app is launched, a list of several items is displayed. Once the user taps on one of them, a new screen will show up with information. I found an example of a similar app which did this with naviframes and displaying one on top of the other one.
The problem is the list is displayed correctly without using naviframes, but once I try to implement them .. a black screen is displayed with no sign of the list.
Code where the window is created and showed:
Conform:
Naviframe:
List:
And at the end, I have this final code line:
If I “elm_object_content_set” the list directly to the conform, it works; but if I do it through the naviframe, it does not.
Do you know why is this happening?
Thanks.
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio