ou’d have to create a new class, but in Kotlin, there’s a standard library class called P…the repeating quartile assignment. Wouldn’t it be nice if we could assign these variables together? In Java you’d have to create a new class, but in Kotlin, there’s a standard library class called Pair we can put to use here:Kotlin for grumpy Java developers1K10Pinterest EngineeringAndrei BacaluFollowAug 8, 2017 · 1 min readI think Pair also exists in Java(since version 7), or at least in Android I used it :)