how to load image from expansion file into webview

后端 未结 3 1351
醉话见心
醉话见心 2020-12-20 01:46

In our app we have html pages which are loaded into webview from the asset directory. These in turn load jpg images from the same place. I need to move the jpg\'s to an expa

3条回答
  •  半阙折子戏
    2020-12-20 02:15

    Just an addition to Chris Fawcett's answer. The shouldInterceptRequest gets called regularly for loading images that are outside the assets folder. I was stuck up with this for quite some time. Thanks to Chris.

提交回复
热议问题