quick question. Is there any "clean" way to remove...
# android
a
quick question. Is there any "clean" way to remove the listener when using the "lambda" call to a method that adds one? A quick example, when working with `OnGlobalLayoutListener`:
Copy code
recycler.viewTreeObserver.addOnGlobalLayoutListener {
    // do whatever
}