Join Slack
Powered by
<ANDROID - Jetpack Compose: how to implement theme...
# stackoverflow
u
user
06/28/2022, 3:31 PM
ANDROID - Jetpack Compose: how to implement theme settings?
I'm having hard times trying to implement a preference who switch the application theme. Normally I would be able to do it with XML but with Jetpack Compose I saw that the best practice is to use DataStore (
https://developer.android.com/topic/libraries/architecture/datastore
) Someone please, can explain me from scratch how to store a preference and change the whole application theme...
3
Views
Open in Slack
Previous
Next