getcolor deprecated

Solutions on MaxInterview for getcolor deprecated by the best coders in the world

showing results for - "getcolor deprecated"
Lysander
07 Jan 2021
1ContextCompat.getColor(context, R.color.color_name)
Giorgia
14 Apr 2016
1llMain.setBackgroundColor(ContextCompat.getColor(context, R.color.color_name));