Forum Xamarin

Error moving between pages and transferring object from one page to another

kingston5555kingston5555 Member ✭✭✭

Hi I transfer information between pages.In my old project I did not have problems. After updating I have error when transfer information from 2-nd page to 3-d

           public async Task GotoPage2()
                {
                    if (mainCar.TypeCar != null) await Navigation.PushModalAsync(new Car_add_company(mainCar));
                }

It is function for transferring information from 1-st page to 2-nd(no problems)

         public async Task GotoPage2()
                {
                    if (mainCar.MarkCar != null) await Navigation.PushModalAsync(new Car_add_model(mainCar));
                }

And It is function for transferring information from 2-nd page to 3-d.And there I have a problem

Answers

  • AnubhavRanjanAnubhavRanjan INXamarin Team Xamurai

    @kingston5555 I don't think this issue is happening because of the code snippets you have shared.
    Rather they seem to be from UI. Anyways, do you think it's possible to share a small sample app containing this issue.

    I will then be able to assist you further.

Sign In or Register to comment.