Skip to content
#

Kotlin

kotlin logo

Kotlin is a statically typed programming language for modern multiplatform applications. 100% interoperable with Java and Android, it now supports JavaScript and native with LLVM (including iOS). It was developed by JetBrains in 2011, and designed to be a new language for the Java Virtual Machine (JVM) that can compile quickly.

Here are 18,223 public repositories matching this topic...

nicktrav
nicktrav commented Nov 1, 2018

Currently, OkHttp reaps "idle" connections (i.e. connections not in use) if either of the following is true:

  • a connection has not been used in a period greater than the idle timeout, or
  • the number of idle connections is greater than some threshold
      if (longestIdleDurationNs >= this.keepAliveDurationNs
          || idleConnectionCount > this.maxIdleConnections) {
      
leakcanary
Armaxis
Armaxis commented Feb 6, 2020

Run following commands and enjoy the stream of warnings from Dokka:

rm -rf docs/api
./gradlew leakcanary-android-core:dokka leakcanary-android-instrumentation:dokka leakcanary-android-process:dokka leakcanary-object-watcher-android:dokka leakcanary-object-watcher:dokka shark-android:dokka shark-graph:dokka shark-hprof:dokka shark-log:dokka shark:dokka

Review errors and see if any of t

Ryanauger95
Ryanauger95 commented Apr 15, 2020

I'm creating a selector like so:

activity?.selector("TITLE" , mList.map {
            "SOME TEXT"
        }) { _, i ->
            // DO SOMETHING
}

The docs don't mention styling at all. How can I style "SOME TEXT" so that it's a different color? I have tried Html.fromText("...") and that has not changed the

kotlinx.coroutines
specterflare
specterflare commented Apr 12, 2020

Why/User Benefit/User Problem

At the moment, it is not obvious which elements of a manga card can be clicked on for functionality. There is no indication that clicking on the author or artist will search your catalog for them, or that the source will do the same. They appear exactly the same as non-clickable text like the chapter count.

What/Requirements

The clickable text in the info

ktor
eMZet-zz
eMZet-zz commented Feb 6, 2020

Subsystem
Kotlin multiplatform library: ktor-client-logging:1.3.0

Is your feature request related to a problem? Please describe.
Problem: not able to filter calls to be logged. All calls are being logged by default.

Describe the solution you'd like
Add a filter option in Logging configuration block (this solution is available on Android in CallLogging feature, but it is absent

GwilymTurner
GwilymTurner commented Feb 12, 2020

I was trying to use REST Assured for the first and was going through the documentation to help me but was getting nowhere. I had put in the correct Maven repository and have copied the relevant classes to be imported but was getting nowhere.
After fiddling around for ages, I had discovered that the classes had to be statically imported but since I had directly copied the classes from the wiki, I

Created by JetBrains

Released February 15, 2016

Latest release about 1 month ago

Repository
JetBrains/kotlin
Website
kotlinlang.org
Wikipedia
Wikipedia
You can’t perform that action at this time.