Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialConor McCarter
687 PointsShould friends list save and update between screens?
For some reason, when I add friends in the Edit Friends screen, the backend is updated to reflect this change, but when I move back to the Friends list screen, there is no change. Then, if I go back to the Edit Friends screen, the changes are not saved but rather, the screen that i initially saw before is there (check/non-checked list). Do you have any idea what I might be doing wrong? Or where something is not being updated?
My inclination is that we have not programmed this functionality. I am thinking this because our array in the Friends page is not mutable.
Any point in the right direction would be greatly appreciated!
1 Answer
Trevor Gerzen
2,749 PointsWhat I'm seeing in mine is that when I uncheck and check different friends it shows up on Parse.com like you mentioned, but when I look at the friends list the same friends I had marked as friends from before this section are still listed there. So if I have Test01, Test02, Test03, and Test04 and I mark 2/4 as friends before completing this section, then when I go back after completing the section to remove those friends it won't update in the UI.