Android O introduced fonts in xml back to API 16 via the support library. However I am unable to find the support equivalent of TypedArray.getFont(), which required API level 26.
val array = context.obtainStyledAttributes(styleResId, R.styleable.TextAppearance)
val font = array.getFont(R.styleable.TextAppearance_android_fontFamily) // nope
Is there some kind of compat utility class I can use to retrieve a font from a style resource id?