public void OnChildRemoved(DataSnapshot snapshot) { int index_del = parent.databases.FindIndex(v => v == snapshot.Key); parent.DatabaseRemoved(index_del); }