Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 101
  1. Compose & kotlinx.html

    Let's render a simple page with Ktor server and kotlinx.html: get("/users.html") { call.respondHtml { myLayout(title = "Users") { userList( users = db.users.value, ) } } } A reusable myLayout provides scaffolding, userList…

  2. Two months ago I gave my first ever live programming talk at KotlinConf.

  3. The lysine contingency

    I'm happy to announce that Retrofit, OkHttp, and Okio are moving to a new GitHub organization, and along with SQL Delight are all joining the Commonhaus Foundation.

  4. An update on Android KTX

    Eight years ago we launched a library of Kotlin extensions for the Android platform, Android KTX.

  5. Many people rely on the Compose bill of materials (BOM) artifact to provide the complete set of Compose dependency versions.

  6. Did you know the versioning of AndroidX libraries and their stability guarantees are different from most libraries?

  7. I used to use Bit.ly to put links into my presentations.

  8. It doesn't take long for a project to spawn multiple jobs in their GitHub Actions.

  9. JNI allows managed code inside the JVM or ART to call into native code.

  10. When Espresso was made public a decade ago, one of its banner features was the "idling resource" concept.

  11. You want to be using the latest JDK for development.

  12. There was a time when I used Maven heavily, but today all the libraries I work on build with Gradle.

  13. The last post featured some Kotlin code inadvertently targeting a new Java API when the build JDK was bumped to 21.

  14. Yesterday, our Android app crashed with a weird NoSuchMethodError. java.lang.NoSuchMethodError: No interface method removeFirst()Ljava/lang/Object; in class Ljava/util/List; or its super classes (declaration of 'java.util.List' appears in /apex/com.androi…

  15. Given an array of integers ([1, 2, 3, 1, 3, 1]), find the elements which are duplicated.

  16. Given a list of users, extract their names and join them into a comma-separated list.

  17. This post was published externally on Cash App Code Blog.

  18. This post was published externally on Cash App Code Blog.

  19. Flow testing with Turbine

    This post was published externally on Cash App Code Blog.

  20. jlink is a JDK tool to create bespoke, minimal JREs for your applications.

  21. Three years ago I gave the talk "What's new in Java 19: The end of Kotlin?"

  22. In the past, when a new version of Java was released, I would add that version to our open source project's CI builds.

  23. The equation y=mx+b defines a line in slope-intercept form.

  24. This post was published externally on Cash App Code Blog.

  25. My primary work project for the better part of a year (named Redwood) is built on top of Compose1 and runs on every platform that Kotlin supports.

  26. This post was published externally on Cash App Code Blog.

  27. Having been burned by case-insensitive filesystem bugs one too many times, I long ago switched my development folder to a case-sensitive filesystem partition on my otherwise case-insensitive Mac.

  28. Earlier this year I built a web-based garage door controller using Rust for the Raspberry Pi called Normally Closed.

  29. This post was published externally on Cash App Code Blog.

  30. One of my favorite non-features from building view binding is that it lacks integration with activities or fragments.

  31. This post was published externally on Cash App Code Blog.

  32. I really like Jetpack Compose.

  33. I use Docker to run a lot of tools.

  34. Command-line programs use color to convey additional information and to look pretty.

  35. How many times does the name of a layout file appear in an Android APK?

  36. We'll get to the shrinking, but first let's motivate the binary in question.

  37. This post was published externally on Cash App Code Blog.

  38. Sixteen corners

    Last year I built a library called Picnic for rendering data tables in monospaced environments like your terminal.

  39. Note: This post is part of a series on D8 and R8, Android's new dexer and optimizer, respectively.

  40. I've been porting the AndroidX collection library to Kotlin multiplatform to experiment with binary compatibility, performance, tooling, and the different memory models.

  41. I recently played a minor role in helping add Cast support to an Android app.

  42. When writing multiplatform code, Kotlin's three compiler backends each have different memory models which must be considered.

  43. Note: This post is part of a series on D8 and R8, Android's new dexer and optimizer, respectively.

  44. I want to remove Google as a single point of failure in my life.

  45. I want to remove Google as a single point of failure in my life.

  46. In 2010 I built a home server with five 2TB drives.

  47. D8 Library Desugaring

    Note: This post is part of a series on D8 and R8, Android's new dexer and optimizer, respectively.

  48. Kotlin is justifiably lauded for its language features compared to today's Java.

  49. D8 Optimizations

    Note: This post is part of a series on D8 and R8, Android's new dexer and optimizer, respectively.

  50. Note: This post is part of a series on D8 and R8, Android's new dexer and optimizer, respectively.