android - How can we get count of parameters passed in doInBackground(String... args) -


i searched many posts got meaning of (string... args) problem how can count of these parameters inside function. appreciated...

you can use length method. array can treat array.

  public void doinbackground(string… args) {      int count = args.length;  } 

for getting value index - use

string value = args[index]; 

Comments

Popular posts from this blog

html - How to custom Bootstrap grid height? -

javascript - pass values from mssql to views in node -

javascript - Understanding ExtJS Framework Syntax -