android - Codename One - Cross-platform BrowserComponent page loading indicator -




i'm developing app browsercomponent. screen remains "all white" (too much) seconds, because page loading slow: app user can figure out app blocked, it's not so. guess (well done) "page loading indicator" can useful.

in developer guide of codename one, it's written so:

on android native indicator might show when web page loading. can disabled using display.getinstance().setproperty("webloadinghidden", "true"); call. need invoke once.

ok, indicator on android , it's not nice. need better page loading indicator that:

  • it's cross-platform (al least android , ios);
  • it's not obtrusive;
  • it gives user idea of percentuage of loading.

for example, @ screenshot: https://scdn.androidcommunity.com/wp-content/uploads/2011/12/screenshot_2011-12-23-18-55-56-303x540.png

in screenshot, between address bar , page body, there thin, blue , good-looking progressbar, page loading indicator.

how can implement of similar works toghether browsercomponent?

thank help.

you can add slider component north , fill page loads. problem have no indication of loading stage api. have loaded callback indicate loading finished.





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -