title: Can't delete node from FirebaseDatabase using removeValue()
body: <p>I try to delete a node from my FirebaseDatabase with removeValue() but it doesn't work .The strange thing is that when i delete it inside Recyclerview the node deleted successfully .</p>
  
  <p>I pass the ref from Recyclerview with onclick in a new Activity using the code below .</p>
  
  <pre><code>     final DatabaseReference itemRef = getRef(position);
            viewHolder.mView.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View v) {
                  //  itemRef.removeValue();
                     Intent intentshowall2one= new Intent(Showcase.this, ShowProduct.class);
                      intentshowall2one.putExtra("S2Skey", itemRef.toString());
                     Showcase.this.startActivity(intentshowall2one);
  </code></pre>
  
  <p>and on the other activity </p>
  
  <pre><code>    key = myIntent.getStringExtra("S2Skey");
      DatabaseReference  mDatabase = FirebaseDatabase.getInstance().getReferenceFromUrl(key);
   mDatabase.removeValue().addOnSuccessListener(new OnSuccessListener&lt;Void&gt;() {
       @Override
        public void onSuccess(Void aVoid) {
           Toast.makeText(getApplicationContext(), "deleted ", Toast.LENGTH_SHORT)
                                      .show();
  
             }
          }).addOnFailureListener(new OnFailureListener() {
              @Override
              public void onFailure(@NonNull Exception exception) {
                // Uh-oh, an error occurred!
              Toast.makeText(getApplicationContext(), "error", Toast.LENGTH_SHORT)
                  .show();
                }
          });
  </code></pre>