Jake Wharton
Jake Wharton
If caching is done the obvious way that everyone does it (private field, if check against default value in the function), the field needs to be `@Volatile` for Kotlin/Native. See...
There's a new API coming that will provide access to a folder
Web version blocked on availability of https://caniuse.com/#feat=native-filesystem-api
> Because Clock is a well-defined interface that has a single well-contained purpose. There are many uses for the current Clock interface that has no need for anything to do...
Jumps would occur when I change the system time on my machine. This could be manual, or due to automatic systems like NTP sync. My wife's MacBook can't keep time...
The name is a bit misleading since it's functional types that are being ignored. It also only works with Kotlin's functional types and not if you carry over something from...
Also wondering if you might want equality for these references to be presence/absence only. That is, two instances with non-null references (assuming a nullable property type) would be equal but...
It would be verbose, but it's also very explicit. It means you don't need to know about the `Runnable` vs. `() -> Unit` thing, you don't need to guess to...
You're close. As you surmised, we need to convert all parameters which contribute to the URL synchronously so that we can create the underlying OkHttp `Call` to then wrap in...
Here's a test case showcasing that it can work: https://github.com/square/retrofit/blob/23d0461541c5596bdf2b67c70d1a7fcc8bd2b6a2/retrofit/src/test/java/retrofit2/RequestFactoryTest.java#L2608-L2621 Please supply a failing test case if you think something is broken.