Skip to content

Instantly share code, notes, and snippets.

@PatilShreyas

PatilShreyas/PairDD.kt Secret

Last active Dec 30, 2020
Embed
What would you like to do?
fun main() {
val (user, interests) = getUserInterest()
}
fun getUserInterest(): Pair<User, List<Interest>> {
// Get user and interests
return Pair(user, interests)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment