Class ShadowLegacyApkAssets

java.lang.Object
org.robolectric.shadows.ShadowApkAssets
org.robolectric.shadows.ShadowLegacyApkAssets

@Implements(value=android.content.res.ApkAssets.class, minSdk=28, isInAndroidSdk=false) public class ShadowLegacyApkAssets extends ShadowApkAssets
Shadow for ApkAssets that is used for legacy resources.
  • Constructor Details

    • ShadowLegacyApkAssets

      public ShadowLegacyApkAssets()
  • Method Details

    • __constructor__

      @Implementation(maxSdk=29) protected void __constructor__(String path, boolean system, boolean forceSharedLib, boolean overlay) throws IOException
      Throws:
      IOException
    • getAssetPath

      @Implementation protected String getAssetPath()