Dear,
A buton start this counter. Just imagine I put contador =60, so this code every second will change and the label will also change de number.
Apperyio.storage.contador.set(Apperyio.storage.contador.get()-1);
Apperyio("CARGANCO_PRODUCTOS").text(Apperyio.storage.contador.get());
That is ok. I check this with a button and it works perfect.
Then what I do is the same buton after start this JS, it also start mapping from API to storage.
When it is maping the
Apperyio("CARGANCO_PRODUCTOS").text(Apperyio.storage.contador.get())
does not change in the page.
Then after mapping, you can see the label arround -30, and changing every second.
So that means that it works, but when maping everything on the page do not refresh.
So it is not possible to show to the user charging all data. I underestand that when you have to wait for 5 seconds it is ok, but if you have to get arround 450 products and they have to wait for 45 or 70 seconds depending on their connection it's not usefull.
I just tell if someone knows how to make that i NEED SOME HELP. And also if you can send to programmers to implemment some charging bar for mapping and getting data.
Thanks
Pedro