This worked
Typeface typeface = ResourcesCompat.getFont(this, R.font.app_font);
Found this in the tutorial link by @Eselfar
This worked
Typeface typeface = ResourcesCompat.getFont(this, R.font.app_font);
Found this in the tutorial link by @Eselfar