Android WebView cache get cleared when activity destroyed

Viewed 29

Android WebView cache get cleared when activity destroyed

I've two activities A & B, activity B has a WebView. When I launch activity B(WebView) from A and navigates between Webpages cache works fine but when I back to activity A and relaunch activity B I saw that every resources reloaded again. I want to prevent reload resources from network and should be used from cache data.

Can anyone please help me on how to resolve this issue?.

Thanks!

0 Answers
Related