AsyncTask's doInBackground(Params… params)

前端 未结 3 1684
野性不改
野性不改 2020-12-05 05:06

I\'m unfamiliar with the parameter syntax in doInBackground(Params... params)

What is this type of thing called, and how do I utilize it?

3条回答
  •  情歌与酒
    2020-12-05 05:47

    They are called Var Args.. Just like an array.. U can pass multiple items and just access like params[0].. etc..

提交回复
热议问题