Class ShadowRegion

    • Field Detail

      • nextId

        public static long nextId
    • Constructor Detail

      • ShadowRegion

        public ShadowRegion()
    • Method Detail

      • equals

        @Implementation
        public boolean equals​(Object obj)
        The real Region.equals(Object) calls into native code, which is a no-op in Robolectric, and will always return false no matter what is compared. We can special-case some simple scenarios here.
        Overrides:
        equals in class Object
      • nativeConstructor

        @HiddenApi
        @Implementation
        protected static Number nativeConstructor()