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 trialLeJacque Gillespie
3,990 Pointsneed help passing this code challange
In the signUp() method, create a new ParseUser variable named newUser and initialize with its constructor. Set the username and password properties using the method parameters and appropriate methods.
I thought mine was correct, guess not.
import android.app.Activity;
import android.util.Log;
import com.parse.ParseUser;
import com.parse.ParseException;
import com.parse.SignUpCallback;
public class SignUpActivity extends Activity {
public static final String TAG = SignUpActivity.class.getSimpleName();
protected SignUpCallback mSignUpCallback = new SignUpCallback() {
ParseUser newUser = new ParseUser();
newUser.setUsername(username);
newUser.setPassword(password);
@Override
public void done(ParseException e) {
}
};
// onCreate() and other code has been omitted
protected void signUp(String username, String password) {
}
}
LeJacque Gillespie
3,990 PointsLeJacque Gillespie
3,990 PointsFIGURED IT OUT THANKS