Class ShadowNativeBitmapDrawable

    • Constructor Detail

      • ShadowNativeBitmapDrawable

        public ShadowNativeBitmapDrawable()
    • Method Detail

      • getCreatedFromResId

        public int getCreatedFromResId()
        Description copied from class: ShadowBitmapDrawable
        Returns the resource id that this BitmapDrawable was loaded from. This lets your tests assert that the bitmap is correct without having to actually load the bitmap.
        Overrides:
        getCreatedFromResId in class ShadowBitmapDrawable
        Returns:
        resource id from which this BitmapDrawable was loaded