Pair and Triple in kotlin
Whenever we want to return two values from a function, we make classes for that but creating too many classes can make your code inefficient. So, Instead of creating classes for two or more values, you can use Pair for returning or using two values...
Jul 4, 20222 min read64
