Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PlatformInitializer (0.3 sec)

  1. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/PlatformInitializer.kt

    import android.content.Context
    import androidx.startup.Initializer
    
    /**
     * Androidx Startup initializer to ensure that the AndroidPlatform has access to the application context.
     */
    class PlatformInitializer : Initializer<Platform> {
      override fun create(context: Context): Platform {
        PlatformRegistry.applicationContext = context
    
        return Platform.get()
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Dec 31 14:50:53 UTC 2024
    - 1K bytes
    - Viewed (1)
  2. okhttp/src/androidMain/AndroidManifest.xml

          android:authorities="${applicationId}.androidx-startup"
          android:exported="false"
          tools:node="merge">
          <meta-data android:name="okhttp3.internal.platform.PlatformInitializer"
                     android:value="androidx.startup"/>
        </provider>
      </application>
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Dec 31 14:50:53 UTC 2024
    - 604 bytes
    - Viewed (0)
Back to top