Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for onCreate (0.1 sec)

  1. android-test-app/src/main/kotlin/okhttp/android/testapp/TestApplication.kt

    package okhttp.android.testapp
    
    import android.annotation.SuppressLint
    import android.app.Application
    import android.os.Build
    import okhttp3.OkHttp
    
    class TestApplication : Application() {
      override fun onCreate() {
        super.onCreate()
    
        if (isSecondaryProcess()) {
          OkHttp.initialize(applicationContext)
        }
      }
    
      private fun isSecondaryProcess(): Boolean = getProcess() != packageName
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Aug 19 08:10:39 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  2. android-test-app/src/main/kotlin/okhttp/android/testapp/MainActivity.kt

    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.internal.platform.AndroidPlatform
    import okio.IOException
    
    open class MainActivity : ComponentActivity() {
      override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
    
        val client = OkHttpClient()
    
        // Ensure we are compiling against the right variant
        println(AndroidPlatform.isSupported)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Aug 19 08:10:39 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. src/main/webapp/js/admin/popper.min.js.map

    this.options.positionFixed\n    ? 'fixed'\n    : 'absolute';\n\n  // run the modifiers\n  data = runModifiers(this.modifiers, data);\n\n  // the first `update` will call `onCreate` callback\n  // the other ones will call `onUpdate` callback\n  if (!this.state.isCreated) {\n    this.state.isCreated = true;\n    this.options.onCreate(data);\n  } else {\n    this.options.onUpdate(data);\n  }\n}\n","/**\n * Helper used to know if the given modifier is enabled.\n * @method\n * @memberof Popper.Utils\n *...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 120.9K bytes
    - Viewed (0)
  4. README.md

    On Android, OkHttp uses [AndroidX Startup][androidx_startup]. If you disable the initializer in the manifest,
    then apps are responsible for calling `OkHttp.initialize(applicationContext)` in `Application.onCreate`.
    
    OkHttp depends on [Okio][okio] for high-performance I/O and the [Kotlin standard library][kotlin]. Both are small libraries with strong backward-compatibility.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. src/main/webapp/js/admin/popper.min.js

    xed,e.offsets.popper=C(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?'fixed':'absolute',e=P(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function W(e,t){return e.some(function(e){var o=e.name,n=e.enabled;return n&&o===t})}function B(e){for(var t=[!1,'ms','Webkit','Moz','O'],o=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var i=t[n],r=i?''+i+o:e;if('undefined'!=typeof...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. okhttp/src/androidMain/baseline-prof.txt

    HSPLandroidx/arch/core/internal/SafeIterableMap;->putIfAbsent(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    HSPLandroidx/core/app/ComponentActivity;-><init>()V
    HSPLandroidx/core/app/ComponentActivity;->onCreate(Landroid/os/Bundle;)V
    HSPLandroidx/core/app/CoreComponentFactory;-><init>()V
    HSPLandroidx/core/app/CoreComponentFactory;->checkCompatWrapper(Ljava/lang/Object;)Ljava/lang/Object;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (0)
  7. src/main/webapp/js/admin/bootstrap.min.js.map

    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 180.9K bytes
    - Viewed (0)
Back to top