alexa
Facebook
Twitter
LinkedIn
Instagram
Whatsapp
Call Now
Quick Inquiry

cant get any component in fragment class (kotlin) in android studio ?

cant get any component in fragment class (kotlin) in android studio ?
 override fun onStart() {
    super.onStart()
    htmlViewer = requireView().findViewById(R.id.htmlViewer) as WebView

    htmlViewer!!.loadUrl("https://www.google.com")
} 

this is solution.

 htmlViewer = requireView().findViewById(R.id.htmlViewer) as WebView 

fixed


63 0
7

Write a Comments


* Be the first to Make Comment

GoodFirms Badge
GoodFirms Badge

Fix Your Meeting With Our SEO Consultants in India To Grow Your Business Online