# https://stackoverflow.com/questions/6495898/findviewbyid-in-fragment Stack Overflow findViewById in Fragment 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 method only works if I extend an