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 trial

Android Build a Self-Destructing Message Android App Relating Users in Parse.com Removing Friend Relationships

Having troubles again

I can't figure out what the right answer might be for challenge 2 of 2. Can anyone help me out?

3 Answers

Yes! Finally figured it out. I've checked the help docs @ Parse.com over and over and now I get it :-)

This is what I got:

.. { ParseObject website = mWebsites[position]; mSitesRelation.remove(website); mCurrentUser.saveInBackground(mSaveCallback); }

Without seeing your code, my educated guess is that you tried to call the save() method instead of the correct method: saveInBackground()

Marc-Oliver Gern
Marc-Oliver Gern
8,747 Points

I also figured it out – somehow. Just forgot what the "new" stands for and why we can ignore it in the code challenge. I know it's in the video and learning path.