For #25980: Update method signatures for View.OnAttachStateChangeListener.
This commit is contained in:
parent
d9d39bd979
commit
5e88437d61
|
@ -380,11 +380,11 @@ internal class CFRPopupFullscreenLayout(
|
|||
* [View.OnAttachStateChangeListener.onViewDetachedFromWindow].
|
||||
*/
|
||||
private class OnViewDetachedListener(val onDismiss: () -> Unit) : View.OnAttachStateChangeListener {
|
||||
override fun onViewAttachedToWindow(v: View?) {
|
||||
override fun onViewAttachedToWindow(v: View) {
|
||||
// no-op
|
||||
}
|
||||
|
||||
override fun onViewDetachedFromWindow(v: View?) {
|
||||
override fun onViewDetachedFromWindow(v: View) {
|
||||
onDismiss()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue