Does assigning a variable to a function call actually call the function then or just store it (so it's ready to be called)?
For example does:
val userData = GraphRequest.newMeRequest(
accessToken,
object : GraphRequest.GraphJSONObjectCallback {
override fun onCompleted(`object`: JSONObject?, response: GraphResponse?) {
Log.d(TAG, `object`.toString())
}
}
)
actually call GraphRequest.newMeRequest()?