Class ResourceIds

java.lang.Object
org.robolectric.res.ResourceIds

public class ResourceIds extends Object
Utility class to that checks if a resource ID is a framework resource or application resource.
  • Constructor Details

    • ResourceIds

      public ResourceIds()
  • Method Details

    • isFrameworkResource

      public static boolean isFrameworkResource(int resId)
    • getPackageIdentifier

      public static int getPackageIdentifier(int resId)
    • getTypeIdentifier

      public static int getTypeIdentifier(int resId)
    • getEntryIdentifier

      public static int getEntryIdentifier(int resId)
    • makeIdentifer

      public static int makeIdentifer(int packageIdentifier, int typeIdentifier, int entryIdenifier)