public void setTextAppearance (Context context, int resId) Added in API level 1
This method was deprecated in API level 23. Use setTextAppearance(int) instead.
My Question: Why it's been deprecated? Why it doesn't need Context
anymore? And most importantly, how to use setTextAppearance(int resId)
for older versions?
Build.VERSION.SDK_INT
which would be < MarshMallow. – Pankaj