How to reference a button from different view in Fragment. Kotlin
I want to achieve a simple task. I have an invisible button in one layout and a have a Fragment. When this function is executed I want the button in the other layout to become visible. However this layout with the button is not in the Fragment layout, which means I have to reference that button in the Fragment, but I don't know how to go about that.
https://i.stack.imgur.com/4HsWM.png▾
This is what Fragment will look like to first time users. The images...