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!
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
Diego Marrs8,243 Points
What do we put into 'values'?
I'm not sure how to complete this challenge; the challenge has only one line of code and none of the necessary parameters needed to justify the put() function. What do I do?
ContentValues values = new ContentValues(); values.put();
Jason Wiram42,756 Points
The question states:
We're going to use ContentValues to insert a pet into a table of lost pets. Put the following key/value paris into values: "name" = "Rover", "type" = "dog", "breed" = "mixed"
You need to put each of the three key/value pairs into values.
ContentValues values = new ContentValues(); values.put("firstKey", "firstValue");