將變量分配給函數(shù)調(diào)用實際上是調(diào)用該函數(shù)還是只是存儲它(以便它可以被調(diào)用)?例如:val userData = GraphRequest.newMeRequest( accessToken, object : GraphRequest.GraphJSONObjectCallback { override fun onCompleted(`object`: JSONObject?, response: GraphResponse?) { Log.d(TAG, `object`.toString()) } })實際上打電話GraphRequest.newMeRequest()?
添加回答
舉報
0/150
提交
取消