I have found out how to fix the problem.
You need to use two different program codes for 1) OnCreate event and 2) when app is already running.
In OnCreate event the program code should be like this:
jSpinner1.Items.Clear(); // <-- works only in OnCreate event, does not work when app is already running
jSpinner1.Items.Add('hello'); // <-- works only in OnCreate event, does not work when app is already running
jSpinner1.Items.Add('world'); // <-- works only in OnCreate event, does not work when app is already running
When app is already running the program code should be without word ”Items”:
jSpinner1.Clear(); // <-- works only when app is already running, does not work in OnCreate event
jSpinner1.Add('hello'); // <-- works only when app is already running, does not work in OnCreate event
jSpinner1.Add('world'); // <-- works only when app is already running, does not work in OnCreate event
The biggest problem with LAMW is that it uses Android components which are very different from standard Lazarus components and when you are porting program code from Windows into Android, the copy/pasted program code fails to work as expected.
Another problem with LAMW is that there are no sample projects for huge number of functions of LAMW and you need to spent massive amount of time wondering in the dark without any guidance.