私のプロジェクトでは、値を文字列に動的に格納する必要があり、その文字列を「,」で分割する必要があります。どうやってやるの ?私を助けてください..
私のコード:
static ArrayList<ArrayList<String>> listhere;
ArrayList<String> arropids;
String arropids1;
for(int q=0;q<listhere.size();q++)
{
arropids = listhere.get(q);
if(arropids.get(3).equals("1"))
{
arropids1 += arropids.get(0) + ",";
System.out.println("arropids1"+arropids1);
}
}