Skip to content

Commit

Permalink
Merge pull request #23 from rees46/chore/java-to-kotlin-description
Browse files Browse the repository at this point in the history
docs(profile): change method description
  • Loading branch information
TorinAsakura authored Jun 17, 2024
2 parents f777438 + 3015bca commit a7c808b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/includes/_profile.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ val params = hashMapOf(
sdk.profile(params)

// With callback
sdk.profile(params, object : Api.OnApiCallbackListener {
override fun onSuccess(response: JSONObject) {
Log.i(TAG, "Response: ${response.toString()}")
}
sdk.profile(params, object : OnApiCallbackListener() {
override fun onSuccess(response: JSONObject?) {
Log.i(TAG, "Response: ${response.toString()}")
}
})

```
Expand Down

0 comments on commit a7c808b

Please sign in to comment.