Class ShadowStringBlock

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

@Implements(className="android.content.res.StringBlock", isInAndroidSdk=false, shadowPicker=Picker.class) public class ShadowStringBlock extends ShadowBaseStringBlock
  • 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()