Hi,
I'm trying to subclass an abstract class that requires type parameters
and I can't figure out the correct syntax for doing so in mirah. The
code I want to write would look something like this in Java
private class DownloadFilesTask extends AsyncTask<URL, Integer, Long>
{
protected Long doInBackground(URL url) {
long result = 0
//... do stuff here
return result;
}
}
The type parameters refer to the params, the type used for progress
reports and the final result. I can't find any code samples of people
trying to do something similar in mirah, and can't figure out what the
correct syntax for this is. For reference the AsyncTask class is
documented at
http://developer.android.com/reference/android/os/AsyncTask.html
thanks,
Simon