do i need the `androidx.activity:activity-compose`...
# compose
a
do i need the
androidx.activity:activity-compose
dependency if I have one activity application? What is the dependency for?
d
you’ll need it to set composable content for the activity
a
What if I am only setting composable content only inside a fragment? @Desmond Teo
d
it also provides features like handling back press in compose with
BackHandler
for example, so i think it depends on your needs
a
Okay thanks. will look into it
c
You could just remove the dep and see if everything still compiles fine? 😄
👌 1
a
One way to find out where it’s actually used ;)