here is a simple trick :)
String listOfPhase =""
for (int i = 0; i < phaseIds.size(); i++) {
if (i == 0)
listOfPhase += phaseIds[i].toString()
else
listOfPhase += "," + phaseIds[i].toString()
}
NOTE : phaseIds is your array
String listOfPhase =""
for (int i = 0; i < phaseIds.size(); i++) {
if (i == 0)
listOfPhase += phaseIds[i].toString()
else
listOfPhase += "," + phaseIds[i].toString()
}
NOTE : phaseIds is your array
0 comments:
Post a Comment