Convert ArrayList to String array in Android

前端 未结 7 1191
终归单人心
终归单人心 2020-12-08 00:56

I have a ArrayList that contains values in the form [ann,john]. I want to convert this ArrayList into a String array in the form {\"ann\",\"john\"}.

How should I do

7条回答
提交回复
热议问题