You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implementation of improvement noted in xamarin#205 comments.
Instead of "hard-wiring" the name of a method to register native
members in a given type, introduce new attribute to mark appropriate
method in that type.
It is now possible to have multiple registration methods. The
`TestType.cs` is updated to test this new behavior.
`JniNativeMethodRegistrationArguments::RegisterNativeMethods` is now
internal to avoid calling it from 3rd party registration methods as it
would be overriden later and the registrations would be lost.
Updated all related code to use the new attribute.
It also fixes fixes issues reported by Gendarme, `R: Gendarme.Rules.Performance.AvoidUnusedParametersRule` and gets us to 116 defects reported.
0 commit comments