Guest User

Untitled

a guest
Sep 19th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. What makes a bridge object?
  2.  
  3. A bridge object is a bridge class with a non-null handle.
  4.  
  5.  
  6. What makes a bridge class?
  7.  
  8. A bridge class must respect the follow rules:
  9.  
  10. -Be a subclass of Java.Lang.Object; and
  11. -The Java side has a monodroidAddReference method.
  12.  
  13. In which cases a bridge class can be ignored as been one?
  14.  
  15. -It only have value type (eg int) fields; or
  16. -It doesn't have a non-mirrored field that could transitively point to another bridge object.
  17.  
  18. A mirrored field is a field that exists both in C# and Java and is kept in sync between the two.
  19. Actually, I don't know for sure if we have those.
  20.  
  21. The transitively points to another bridge object means that another bridge object can be reached
  22. directly or indirectly through that field. Eg, System.Object and Java.Lang.Object do, System.String
  23. doesn't.
Add Comment
Please, Sign In to add comment