in this case you can write `if (fragment?.isVisibl...
# android
k
in this case you can write
if (fragment?.isVisible == true)