You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, I think I found an issue regarding to memory leaks.
In DismissingUtils, there is a method called setupKeyboardListener.
In that method, addOnGlobalLayoutListener is called and it holds a reference to KeyboardListener which is implemented by a LinearLayout, and we also have a reference to contentView.
I guess we should either call removeOnGlobalLayoutListener at some point, or just keep WeakReference to the aforementioned variables.
What do you think?
The text was updated successfully, but these errors were encountered:
Hi!
@GabrielSamojlo Nice library, thank you so much!
However, I think I found an issue regarding to memory leaks.
In
DismissingUtils
, there is a method calledsetupKeyboardListener
.In that method,
addOnGlobalLayoutListener
is called and it holds a reference toKeyboardListener
which is implemented by aLinearLayout
, and we also have a reference tocontentView
.I guess we should either call
removeOnGlobalLayoutListener
at some point, or just keepWeakReference
to the aforementioned variables.What do you think?
The text was updated successfully, but these errors were encountered: