我创建了创建用户的任务,然后我想取消任务或删除监听器.我该怎么做 ?
Task authTask = mAuth.createUserWithEmailAndPassword(emailEditText.toString(), passwordEditText.toString()).addOnSuccessListener(new OnSuccessListener() { @Override public void onSuccess(AuthResult authResult) { //todo } });
com.google.android.gms.tasks.Task没有api.为什么?