Class ShadowNfcFrameworkInitializer

java.lang.Object
org.robolectric.shadows.ShadowNfcFrameworkInitializer

@Implements(value=android.nfc.NfcFrameworkInitializer.class, isInAndroidSdk=false, minSdk=34) public class ShadowNfcFrameworkInitializer extends Object
Shadow for new NfcFrameworkInitializer class in U.

Real android will initialize this class on app startup. That doesn't happen in Robolectric, and besides seems wasteful to always do so. This shadow exists to lazy load the NfcServiceManager.

  • Constructor Details

    • ShadowNfcFrameworkInitializer

      public ShadowNfcFrameworkInitializer()
  • Method Details