I am trying to create an ImageView in a Fragment which will refer to the ImageView element which I have created in the XML for the Fragment. However, the findViewById<
findViewById<
Using getView() returns the view of the fragment, then you can call findViewById() to access any view element in the fragment view.
getView()
findViewById()