Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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 !!