Beispiel #1
0
        public static void SaveList(GroceryList newList)
        {
            if (AppData.auth.CurrentUser == null)
            {
                return;
            }

            var toWriteDict = ListHelpers.ListToDict(newList);

            AppData.DataNode.GetChild(AppData.currentUser.Uid)
            .GetChild(newList.ListName)
            .SetValue(toWriteDict);
        }