We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 92e8922 + 5f7a9a6 commit 099f006Copy full SHA for 099f006
balloon/src/main/kotlin/com/skydoves/balloon/Balloon.kt
@@ -920,10 +920,10 @@ public class Balloon private constructor(
920
if (bodyWindow.contentView.parent != null) return false
921
922
// We should check if the anchor view's window token is valid.
923
- if (!anchor.windowToken.isBinderAlive) return false
+ if (!anchor.isAttachedToWindow) return false
924
925
- // We should check the anchor view is attached to the parent's window.
926
- return anchor.isAttachedToWindow
+ // We should check the anchor view is attached to the parent's window. (#730)
+ return anchor.windowToken.isBinderAlive
927
}
928
929
private fun showOverlayWindow(anchor: View, subAnchors: List<View>) {
0 commit comments