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: [email protected] ReportedBy: [email protected] QAContact: [email protected] 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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
