Skip to content

Instantly share code, notes, and snippets.

@PatilShreyas
Last active December 30, 2020 07:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PatilShreyas/e9c5c47ab21477bd46157a5cd4ee0cff to your computer and use it in GitHub Desktop.
Save PatilShreyas/e9c5c47ab21477bd46157a5cd4ee0cff to your computer and use it in GitHub Desktop.
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