In my application I want use this Library for show ArrayList items.
My ArrayList from server:
"genres": [
"Action",
" Comedy",
" Family"
]
I write below code for show Items:
private String[] mostlyMatchedKeywordsStrings = serialResponse.getData().getGenres();
private List<String> cloudChipList = new ArrayList<>();
for (String str : mostlyMatchedKeywordsStrings) {
cloudChipList.add(str);
if (cloudChipList.size() > 0) {
infoSerialFrag_GenreChips.addChip(str);
}
}
Gives oputput as:
Ganre : Action Comedy Family
But I want it like this :
Ganre : Action , Comedy , Family
Please help me with my above codes, I am amateur and need this help, please help me with my above codes. Thanks all <3