Web view onReceivedError is handled but still showing web page not available

后端 未结 2 547
攒了一身酷
攒了一身酷 2021-01-28 21:08

I was trying to show a web page on my web view. and in case if an error occurs or page loading fails I want to show a sad smiley and a text showing that your page is not loaded

2条回答
  •  一生所求
    2021-01-28 22:00

    Move the line super.onReceivedError(view,errorCode,description,failingUrl); above hideProgress(); in onReceivedError() method.

提交回复
热议问题