https://kotlinlang.org logo
o

oday

02/05/2019, 10:27 AM
why did I try to do it like this
Copy code
mileageValuesToYears.keys.zipWithNext().map { x -> x.second to mileageValuesToYears[x.second] }
        .toMap().forEach { Timber.d("Key is ${it.key} value is ${it.value}") }