luiisca / floaty

Apache License 2.0
0 stars 0 forks source link

find a way to know more about each `FloatView` instance, look for an id or something that could be used to uniquely identify it for removal #30

Closed luiisca closed 1 week ago

linear[bot] commented 1 week ago

GIT-399 find a way to know more about each `FloatView` instance

luiisca commented 1 week ago

I tried layout inspector from android studio but coudln't find anything remotely resembling a unique identifier

luiisca commented 1 week ago

I found I can use View.hashcode() for uniquely identying a View instance, but I couldn't find a way to access to all Views mounted or managed by WindowManager. I'm gonna try to remove view instances from their Composable definition.

luiisca commented 5 days ago

ok, it works!