jianzhongli / MathView

A library for displaying math formula in Android apps.
Apache License 2.0
1.01k stars 188 forks source link

Blank screen till MathView render content #18

Open ram-readwhere opened 8 years ago

ram-readwhere commented 8 years ago

I am using 5 MathViews on single screen. Screen remains blanks till these MathViews render content.

Is there any way that I can get callback when MathView rendered content, so that loader can be seen until MathView render content ?

owsega commented 8 years ago

I think you can treat the MathViews as regular webViews in this scenario, and set WebViewClients on them: mathView1.setWebViewClient(new WebViewClient() {...}); and then you can override onPageFinished, onPageStarted, etc as you like