https://bugzilla.novell.com/show_bug.cgi?id=656140

https://bugzilla.novell.com/show_bug.cgi?id=656140#c0


           Summary: Add Overloads For Activity.SetResult and
                    Activity.OnActivityResult Methods To Allow int For
                    resultCode Parameter
    Classification: Mono
           Product: MonoDroid
           Version: unspecified
          Platform: x86-64
        OS/Version: Windows 7
            Status: NEW
          Severity: Enhancement
          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; rv:1.9.2.12)
Gecko/20101026 Firefox/3.6.12

Currently, certain Activity methods have an Android.App.Result for the
resultCode parameter. Unfortunately, this prevents custom result codes from
being used since you cannot inherit from enum types.

As far as I can tell, the affected methods are:
Activity.SetResult(Android.App.Result)
Activity.SetResult(Android.App.Result, Android.Content.Intent)
Activity.OnActivityResult(int, Android.App.Result, Android.Content.Intent)

The corresponding overloads would be:
Activity.SetResult(int)
Activity.SetResult(int, Android.Content.Intent)
Activity.OnActivityResult(int, int, Android.Content.Intent)


Reproducible: Always

Steps to Reproduce:
1.
2.
3.

-- 
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

Reply via email to