[Solved] seprate object data via coma for every item but not last
Answer 1.Declared a array list. List<String> productPrice = new ArrayList<String>(); 2.Stored a string object in that array list fname = obj1.getPrice(); productPrice.add(fname); 3.And in last used text utils for joining that array list items via comma. android.text.TextUtils.join(“,”, productPrice); solved seprate object data via coma for every item but not last