Android studio layout inspector should have feature to
show currently visible activity/fragment(s)/ComposeFunction
yes black 2
c
Chris Sinco [G]
01/23/2023, 8:06 PM
Interesting, could you elaborate more on how this could work to solve the issue you are seeing?
j
jasu
01/25/2023, 7:19 AM
It happens many times that in a big project I'm not sure which activity or fragment or compose component is currently visible. specially if you join new org or work with multi functional team where you're not much aware of their work it actually solves big thing
jasu
01/25/2023, 7:20 AM
For ex. if mainActivity is open it'd show name "MainActivity" then all view hierarchy below it like all the views on this screen. similarly for composables too
jasu
01/25/2023, 7:20 AM
and it should also navigate me to actual class implementation upon click