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

guys i am stuck

fill in the blanks to add "Mike the Frog"to this relation and then save it to Parse inthe background

relation._______________________("Mike the Frog"); currentUser______________newSaveCallback() { @Override

public void done(ParseException e) { /+ code omitted * /} }); }

1 Answer

You are adding a relationship, so use "relation.add" and you are saving the currentUser in the background so use "currentUser.saveInBackground"

The answer is in the video before it. In the future if you are having trouble finding the answer, re-watch the video after reading the question.