I have a string coming from database in a format like
“2,5,5,3”
.
What i am trying to do is, i want to separate every int from this string and assign in a new variable.
Than, on the basis if it i want to show images.
For ex:
i have 5 image views named as
img1,img2,img3 etc
so if i get output from db as “3,2,4 “
than i want to show img3, img2 and img4.
So my images depends on the returned string.
How can i move forward in order to implement it.
Use like this