Have a question! getDrawable() is deprecated in API 22. So, if I make an app with the min API 16, how can I set an image?
I saw that I can use getDrawable(int id, t
you can use
yourImageView.setImageDrawable(ContextCompat.getDrawable(context, /*your drawable like R.drawable.drawableName*/));