Skip to content

Instantly share code, notes, and snippets.

@kartikarora
Created April 19, 2023 04:42
Show Gist options
  • Save kartikarora/dd6188a9d1848ae003141ddc8dda39af to your computer and use it in GitHub Desktop.
Save kartikarora/dd6188a9d1848ae003141ddc8dda39af to your computer and use it in GitHub Desktop.
/**
* More information at https://developer.android.com/reference/androidx/core/text/util/LocalePreferences
*/
// Calendar Type
LocalePreferences.getCalendarType()
// First day of the week
LocalePreferences.getFirstDayOfWeek()
// Hour Cycle
LocalePreferences.getHourCycle()
// Temperature Unit
LocalePreferences.getTemperatureUnit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment