The basic principle of the special feature has been understood and is used successfully and beneficially in small projects.
It has greatly improved the readability of the program structure.
However, I am not familiar with the exact mechanism under the hood, so I could not consider best practices on this.
In larger projects I now have an increasing number of places where "Sleep()" or "Wait for" is used and I'm not always sure if there might be unwanted effects caused by unskillfully placed "Sleep()" or "view.SetSomethingAnimated()".
For example, I noticed that the B4XLoadingIndicator did not appear "every now and then" after longer use of the app. Then a "Sleep(800)" before "B4XLoadingIndicator1.Show" helped and the effect did not appear anymore.
Is there a possibility to see how many unfinished calls are pending, e.g. in debugging mode?
I expect the information to indicate the necessity for corrective intervention.
It has greatly improved the readability of the program structure.
However, I am not familiar with the exact mechanism under the hood, so I could not consider best practices on this.
In larger projects I now have an increasing number of places where "Sleep()" or "Wait for" is used and I'm not always sure if there might be unwanted effects caused by unskillfully placed "Sleep()" or "view.SetSomethingAnimated()".
For example, I noticed that the B4XLoadingIndicator did not appear "every now and then" after longer use of the app. Then a "Sleep(800)" before "B4XLoadingIndicator1.Show" helped and the effect did not appear anymore.
Is there a possibility to see how many unfinished calls are pending, e.g. in debugging mode?
I expect the information to indicate the necessity for corrective intervention.