and LisB with person name with family name.
I am having a string array that has a bunch of names now i am assigning this to A and B by looping.
ListA.add(string)
ListB.add(string + familyname)
And after the loop if i check ListA.get(index) i get the name with the family name. How do I defrence the list so i can get the correct values??
Which IDE are you using?
Android studio
Is this a bird? Is this a plane? No, it's debugger! Meet the best friend of every developer - the almighty debugger. This is exactly what you need to solve your problem. And many many other ones, except few cases where debugger can't help. https://youtu.be/1bCgzjatcr4
Обсуждают сегодня