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 Retrieving and Viewing Messages Retrieving Messages

Not Work ?

We want to query the backend for a list of episodes of the TV show "Doctor Who". Start by declaring a ParseQuery variable named query and initialize it with a ParseQuery constructor. Use "DoctorWhoEpisodes" as the class name and ParseObject as the type (remember that ParseQuery is a generic class that must specify a type).

La respuesta es esta :

ParseQuery<ParseObject> query = new ParseQuery("DoctorWhoEpisodes");

pero no funciona !

3 Answers

Paul Stevens
Paul Stevens
4,125 Points

Hello,

I think you need to have the type of query inside <> because ParseQuery is generic. So something like:

ParseQuery<String> query = new ParseQuery<String>("DoctorWhoEpisodes");

This may help, but If you can tell me which code challenge it is I will have a look at it properly.

Paul

Oh , Tienes mucha razón . Gracias !!