Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 18.104.22.168 release ready!
In this blog,
I have talked about what to use instead of a deprecated function of getColor.
getResources().getColor(R.color.color_name) is deprecated in API level 23.
So, we can use getColor(int, Theme) instead.
you can use the ContextCompat.getColor() which is part of the Support V4 Library (so it will work for all the previous API).
Returns a color connected with a particular resource ID.
Your email address will not be published. Required fields are marked*
Save my name email and website in this browser for the next time I comment.
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.