[Mono-bugs] [Bug 656140] Add Overloads For Activity.SetResult and Activity.OnActivityResult Methods To Allow int For resultCode Parameter

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Nov 28 17:22:09 EST 2010



Dan Russell <danomania at gmail.com> changed:

           What    |Removed                     |Added
             Status|NEEDINFO                    |NEW
       InfoProvider|danomania at gmail.com         |

--- Comment #2 from Dan Russell <danomania at gmail.com> 2010-11-28 14:22:08 PST ---
I prefer enums as well. I didn't know you could do that w/o getting some
invalid cast or overflow error.

After testing this method, it works fine on both ends. 
1) Activity.SetResult((Result)CUSTOM_RESULT)
2) In OnActivityResult(), Convert.ToInt32(resultCode) yields the correct value


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