[Mono-bugs] [Bug 665579] New: AsyncTask binding is unusable (very incomplete)
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Jan 19 12:31:31 EST 2011
https://bugzilla.novell.com/show_bug.cgi?id=665579
https://bugzilla.novell.com/show_bug.cgi?id=665579#c0
Summary: AsyncTask binding is unusable (very incomplete)
Classification: Mono
Product: MonoDroid
Version: SVN
Platform: Macintosh
OS/Version: Mac OS X 10.6
Status: NEW
Severity: Major
Priority: P5 - None
Component: Class Libraries
AssignedTo: mkestner at novell.com
ReportedBy: jondick at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10
Please see the Android Docs:
http://developer.android.com/reference/android/os/AsyncTask.html
AsyncTask should be a generic type with something like: AsyncTask<TParam,
TProgress, TResult>, which it is currently not.
Also, the following methods need to be overrideable:
TResult DoInBackground(params TParam[] parameters);
void OnCancelled();
void OnPostExecute(TResult result);
void OnPreExecute();
void OnProgressUpdate(params TProgress[] values);
Finally, the following methods need to be bound on the object:
AsyncTask<TParam, TProgress, TResult> Execute(params TParam[] parameters);
TResult Get();
TResult Get(long timeout, TimeUnit unit); <- Probably a better way to .net'ify
that
private void PublishProgress(params TProgress[] values);
Reproducible: Always
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list