Mark Firebase’s previousChildName as optional since it will be null for the first item

This commit is contained in:
Collin Jackson 2016-01-27 16:14:38 -08:00
parent 4907b64263
commit bada290904

View File

@ -36,9 +36,9 @@ interface ValueEventListener {
interface ChildEventListener {
OnCancelled(Error error);
OnChildAdded(DataSnapshot snapshot, string previousChildName);
OnChildChanged(DataSnapshot snapshot, string previousChildName);
OnChildMoved(DataSnapshot snapshot, string previousChildName);
OnChildAdded(DataSnapshot snapshot, string? previousChildName);
OnChildChanged(DataSnapshot snapshot, string? previousChildName);
OnChildMoved(DataSnapshot snapshot, string? previousChildName);
OnChildRemoved(DataSnapshot snapshot);
};