Skip to content
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.

Listener when MardownView is loaded #40

Open
JavierSegoviaCordoba opened this issue Jul 9, 2018 · 1 comment
Open

Listener when MardownView is loaded #40

JavierSegoviaCordoba opened this issue Jul 9, 2018 · 1 comment

Comments

@JavierSegoviaCordoba
Copy link

Is there any way to check when the MardownView is downloading or loading the file so show/hide a circle progress bar?

@JavierSegoviaCordoba
Copy link
Author

This works for me:

markdownView.setWebViewClient(new WebViewClient() {
      @Override
      public void onPageFinished(WebView view, String url) {
            super.onPageFinished(view, url);
            swipeRefreshLayout.setRefreshing(false);
     }
});

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant