D/APP_TAG ( 3207): button clicked
D/APP_TAG ( 3207): test
D/APP_TAG ( 3207): elm.text
D/APP_TAG ( 3207): test
D/APP_TAG ( 3207): elm.text.end
D/APP_TAG ( 3207): test
D/APP_TAG ( 3207): elm.text.sub
D/APP_TAG ( 3207): test
D/APP_TAG ( 3207): elm.text.sub.end
D/APP_TAG ( 3207): test
D/APP_TAG ( 3207): elm.text
D/APP_TAG ( 3207): test
D/APP_TAG ( 3207): elm.text.end
D/APP_TAG ( 3207): test
D/APP_TAG ( 3207): elm.text.sub
D/APP_TAG ( 3207): test
D/APP_TAG ( 3207): elm.text.sub.end
The function is apparently called twice for each element. This does not alter the behavior in this case but if I change the data pointer to the struct:
Double execution of get_text function in genlists
I am having problem with double execution of the text_get callback function for genlists.
If I have the following code in a button callback function to add an entry to genlist log_list
and the _item_label_get function:
This is what I get from the device log:
The function is apparently called twice for each element. This does not alter the behavior in this case but if I change the data pointer to the struct:
And the debug logging to:
I get this in the device log:
Obiously the genlist does not look pretty. This looks like undefined behavior am I missing something?
The application is compiled with 2.4 rev 2 sdk.
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio