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/ca8b57f547fe51bcb06f0c01a942e634 to your computer and use it in GitHub Desktop.

Select an option

Save akexorcist/ca8b57f547fe51bcb06f0c01a942e634 to your computer and use it in GitHub Desktop.
val param = UserProfileParam("219347017350")
param.page = 0
param.count = 30
print("Get user profile info (id:${param.id}, page:${param.page}, count:${param.count})")
track("Get user profile info : ${param.id}")
val response = getUserProfile(param)
saveToDatabase(response)
@first087
Copy link
Copy Markdown

first087 commented May 2, 2018

print("Get user profile info (id:${it.id}, page:${it.page}, count:${it.count})")
track("Get user profile info : ${it.id}")

ข้างบนผิดนะ ต้องเปลี่ยนเป็น

print("Get user profile info (id:${param.id}, page:${param.page}, count:${param.count})")
track("Get user profile info : ${param.id}")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment