Class ShadowStringBlock

java.lang.Object
org.robolectric.shadows.ShadowStringBlock

@Implements(className="android.content.res.StringBlock", isInAndroidSdk=false) public class ShadowStringBlock extends Object
  • Constructor Details

    • ShadowStringBlock

      public ShadowStringBlock()
  • Method Details

    • nativeCreate

      @Implementation protected static long nativeCreate(byte[] data, int offset, int size)
    • nativeGetSize

      @Implementation protected static int nativeGetSize(long nativeId)
    • nativeGetString

      @Implementation protected static String nativeGetString(long nativeId, int index)
    • nativeGetStyle

      @Implementation protected static int[] nativeGetStyle(long obj, int idx)
    • nativeDestroy

      @Implementation protected static void nativeDestroy(long obj)
    • reset

      @Resetter public static void reset()