In this video we will create simple WebView to show a website. We will pass a new WebViewClient, load a URL and enable JavaScript by changing the WebSettings. We are also going to provide proper back navigation by overriding onBackPressed().
Example code for this video:
https://gist.github.com/codinginflow/d7eb3aa5b34036f9fdecbc3575bdd316
____________________
⭐ Get my MVVM Caching Course now:
https://codinginflow.com/caching
? Check out my apps:
https://codinginflow.com/apps
❗ Subscribe to the channel:
https://www.youtube.com/c/codinginflow?sub_confirmation=1
? Earn money by becoming an affiliate for my courses:
https://codinginflow.com/affiliate
? Subscribe to the Coding in Flow newsletter:
https://codinginflow.com/newsletter
? Hire me for your next project:
https://codinginflow.com/contact
? Donate to Coding in Flow with a message:
https://paypal.me/codinginflow
❓ Ask your programming questions in our chat:
https://discord.gg/TSnMvmc
? Follow Coding in Flow on other sites:
Facebook: https://www.facebook.com/codinginflow
Instagram: https://www.instagram.com/codinginflow
TikTok: https://www.tiktok.com/@codinginflow
Twitter: https://twitter.com/codinginflow
Github: https://github.com/codinginflow
? Business requests, sponsoring, etc.: info@codinginflow.com