I know that in Java you can specify the return type of the DoInBackground override of the AsyncTask class, but in MonoDroid it seems to only allow the Object return type. What if I want it to return a just a plain ole’ string for use in handling the OnPostExecute?
Share
Well since
StringextendsObject, you could return aStringand then cast the return when you receive it.This compiles and runs