Skip to content

Instantly share code, notes, and snippets.

@akexorcist
Last active March 30, 2020 17:02
Show Gist options
  • Select an option

  • Save akexorcist/3fd29046a69685684797c1072de7b17a to your computer and use it in GitHub Desktop.

Select an option

Save akexorcist/3fd29046a69685684797c1072de7b17a to your computer and use it in GitHub Desktop.
val response = UserProfileParam("219347017350").apply {
page = 0
count = 30
}.also {
print("Get user profile info (id:${it.id}, page:${it.page}, count:${it.count})")
track("Get user profile info : ${it.id}")
}.run {
val response = getUserProfile(this)
saveToDatabase(response)
response
}
Log.d("Response : $response")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment