Having ``` view?.addOnLayoutChangeListener { view...
# android
a
Having
Copy code
view?.addOnLayoutChangeListener { view, left, top, right, bottom, oldLeft, oldTop, oldRight, oldBottom ->
            view?.removeOnLayoutChangeListener(this)
            presenter.getWeather()
        }
I get an error that 'this' points to my parent class. How can I reference instance of my LayoutChangedListener? this@ shows only my parent class available