I get an error in Master Detail page

lwdulwdu Member ✭✭
edited April 2018 in Xamarin.Forms

So I create a standard xamarin form project with a default template, then I add a Master Detail page template to the project and when I compile this project on the phone I open the side menu and when I click on Page 1 I get the error "System.InvalidCastException: Specified cast is not valid. " I do not change the default template in any way, but I get an error, I believe that it is related to the transition to Page 1 and I do not understand by what principle this transition occurs. Thanks.

Best Answer

  • lwdulwdu ✭✭
    Accepted Answer

    There really was a conflict of names. The fact is that one of my representations was called simply a page that is inadmissible since such a word is used in functions.

Answers

  • lwdulwdu Member ✭✭
    Accepted Answer

    There really was a conflict of names. The fact is that one of my representations was called simply a page that is inadmissible since such a word is used in functions.

Sign In or Register to comment.