예제 #1
0
            public void OnChildAdded(DataSnapshot snapshot, string previousChildName)
            {
                if (snapshot.Exists())
                {
                    int index_in = parent.databases.FindIndex(v => v == previousChildName);
                    ++index_in;

                    parent.DatabaseAdded(snapshot.Key, index_in);
                }
            }