//TODO
        //Only save if not trakked 

        private async Task SaveBasicParseTVObject(TVShow tvShow)
        {
            string userName = ParseUser.CurrentUser.Email;


            var myObject = new TVShowForParse
            {
                Name = tvShow.Name,
                TMDBID = tvShow.TMDBID,
                UserEmail = userName

            };
            await myObject.SaveAsync();

            if (activity is AddShowsTabActivity)
            {
               ((AddShowsTabActivity)activity).UpdateTrakkedShowList();
            }
        }
예제 #2
0
		void createExampleParseObject ()
		{
			var myCurrentShow = new TVShowForParse ();
			myCurrentShow.Name = "Seifeld";
			myCurrentShow.IMDBID = "tt0000001";

			myCurrentShow.SaveAsync ();

			var myCurrentShow2 = new TVShowForParse ();
			myCurrentShow2.Name = "Breaking Bad";
			myCurrentShow2.IMDBID = "tt0000002";

			myCurrentShow2.SaveAsync ();

			var myCurrentShow3 = new TVShowForParse ();
			myCurrentShow3.Name = "Sopranos";
			myCurrentShow3.IMDBID = "tt0000003";

			myCurrentShow3.SaveAsync ();

			var myTask2 = getParseObjectTask ();

		}