https://kotlinlang.org logo
#android
Title
# android
g

gts13

09/13/2022, 2:36 PM
can someone please explain me why the androidx.compose.material3 is not enough when I want my theme to inherit from
Theme.Material3.DayNight.NoActionBar
and I also need to add the material-components-android which gives me also components from material 2 when the dependency is added in the project?
😶 2
what I want to achieve is when I add a UI component, e.g.
TopAppBar
I want to get immediately the import from material3, and not to choose between 2 and 3
g

gildor

09/14/2022, 5:07 AM
because androidx.compose.material3 is only compose implementation, it doesn’t have everything, every implementation of material is not synced with another, they have own development cycle. Material Components is implementation for Android Views, not for compose Coompose implementation is fully new reimplementation of all components
👌 1
2 Views