From Android API22, getResources().getDrawable() has been deprecated, so do I just need to use getDrawable()? What's changed?
android android-resources android-5.1.1-lollipop drawable
From now on, you can do ContextCompat.getDrawable(context, R.Drawable.**)
like this.
© 2024 OneMinuteCode. All rights reserved.