Пример #1
0
        async Task ExecuteSaveCommand()
        {
            var newWalletItem = new WalletModel
            {
                TokenName    = this.TokenName,
                TokenAddress = this.TokenAddress,
                TokenSymbol  = this.TokenSymbol
            };


            //	Here,	we	will	save	the	details	entered	in	a	later	chapter.

            await NavService.PreviousPage();
        }
Пример #2
0
        async Task ExecuteSaveCommand()
        {
            var newWalkItem = new WalkEntries
            {
                Title      = this.Title,
                Notes      = this.Notes,
                Latitude   = this.Latitude,
                Longitude  = this.Longitude,
                Kilometers = this.Kilometers,
                Difficulty = this.Difficulty,
                Distance   = this.Distance,
                ImageUrl   = this.ImageUrl
            };

            // Here, we will save the details entered in a later chapter.
            await NavService.PreviousPage();
        }
Пример #3
0
        async Task ExecuteSaveCommand()
        {
            var newWalkItem = new WalkEntries
            {
                Title      = this.Title,
                Notes      = this.Notes,
                Latitude   = this.Latitude,
                Longitude  = this.Longitude,
                Kilometers = this.Kilometers,
                Difficulty = this.Difficulty,
                Distance   = this.Distance,
                ImageUrl   = this.ImageUrl
            };

            //tu będzie kod zapisujący dane
            await NavService.PreviousPage();
        }
        async Task ExecuteSaveCommand()
        {
            var newWalkItem = new WalkEntries
            {
                Title      = this.Title,
                Notes      = this.Notes,
                Latitude   = this.Latitude,
                Longitude  = this.Longitude,
                Kilometers = this.Kilometers,
                Difficulty = this.Difficulty,
                Distance   = this.Distance,
                ImageUrl   = this.ImageUrl
            };

            // Upon exiting our New Walk Entry Page, we need to
            // stop checking for location updates
            myLocation = null;

            // Here, we will save the details entered in a later chapter.
            await NavService.PreviousPage();
        }