私のプロジェクトでは、値を動的に文字列に格納し、その文字列を "、"で分割する必要があります。どうやってやるの ?私を助けて...java androidの文字列に値を動的に格納する方法は?
マイコードしてください:
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);
}
}
データから解析された各arropids1を保存しますか? –
はい...保存した後に私は各arropids1を分割したい... – RaagaSudha