Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- What makes a bridge object?
- A bridge object is a bridge class with a non-null handle.
- What makes a bridge class?
- A bridge class must respect the follow rules:
- -Be a subclass of Java.Lang.Object; and
- -The Java side has a monodroidAddReference method.
- In which cases a bridge class can be ignored as been one?
- -It only have value type (eg int) fields; or
- -It doesn't have a non-mirrored field that could transitively point to another bridge object.
- A mirrored field is a field that exists both in C# and Java and is kept in sync between the two.
- Actually, I don't know for sure if we have those.
- The transitively points to another bridge object means that another bridge object can be reached
- directly or indirectly through that field. Eg, System.Object and Java.Lang.Object do, System.String
- doesn't.
Add Comment
Please, Sign In to add comment