Is there a way to reference the listener `this` in...
# announcements
u
Is there a way to reference the listener
this
in this case?
Copy code
supportFragmentManager.addOnBackStackChangedListener { // Java SAM
            supportFragmentManager.removeOnBackStackChangedListener(this) // does not work
        }