Skip to content

Tag: android-asynctask

Define text color based on value using AsyncTask

So basically my AsyncTask get the value from the url and when i execute i wanna show green text or red text if contains (“-“). I have search around and none of the option worked for me. i do have a RecyclerView.ViewHolder but don’t know how to incorporate before i execute. Everything works, …