Dear Developers,
We wish everyone a happy first day of summer! Hope that summer everyone will be able to relax wherever they want, lie down sunbathe and swim:))
Concerning DroidScript yesterday we tried to read spinner line value (as a number). In Internet there are several solutions of this issue but nothing work:
spinner.GetTextRaw() -> doesn't work
spinner.SetOnChange(function p_item)... -> reading the text of spinner line
At this moment we are reading the text (using .GetText method) of the current spinner line, and using string matching (with String.includes(...) method) to finding the array component of spinner list. Here we use for() cycle, and the program takes up several lines.
But may be is there a simplier option for this issue?
Thank you very much in advance.
have a nice day.
Best regards
Dmitry