onCreate

protected open fun onCreate()

Override this function to be notified when the ui element is ready for its creation

Use the onCreate method to setup the ui element. When the onCreate method is called, the glasses are connected &b screen dimensions are known