Hello, here I am again with the fire base saga: p,
So how can I add +1 to child Users
when someone enters an activity, in the case of a user profile, I want to do the same in the profile of the community here, Thanks in advance.
I think this is the starting point
mDatabase = FirebaseDatabase.getInstance().getReference().child("Users");
mPost_key = getIntent().getExtras().getString("uidusuario");
mDatabase.child(mPost_key).addValueEventListener(new ValueEventListener() {
@Override
public void onDataChange(DataSnapshot dataSnapshot) {
mDatabase.child(mPost_key).child("visitasperfil").setValue();