obtain Citymapper Theme Id
fun obtainCitymapperThemeId(context: Context, attrs: AttributeSet?, @AttrRes defStyleAttr: Int, @StyleRes defStyleRes: Int, allowOverride: Boolean = true): Int
Content copied to clipboard
Retrieves the value of citymapperSdkTheme
, taking into account defStyleAttr
and defStyleRes
allowing the Citymapper SDK theme to be set from default styles.
Always falls back to DefaultThemeIfNotSet, if the theme/style does not explicitly define a citymapperSdkTheme