Closed cdeck95 closed 3 years ago
Hi! LazyView takes as parameter types that inherit from View not ContentPage. Otherwise I guess I called it LazyPage :)
Hi!
LazyView takes as parameter types that inherit from View not ContentPage.
Otherwise I guess I called it LazyPage :)
Thank you for your quick reply! Now that you say that, I did try to change it to ContentView, but got an error that all my variables and "initantiatecompoment() methods were invalid. Let me get a screenshot.
@roubachof see screenshot. Do you know why this might be happening? I have tried everything I can think of, but I know its something simple.
EDIT: Found it. I have "ContentPage" as my main control in the XAML associated with the code-behind class, so it was yelling at my for the type mismatch. I have fixed it, no more errors. I hope this was all it was :)
Bug: Invalid Instantiation of the LazyView for the tabs in the TabHostView object.
Steps to reproduce the behavior:
See exception/error screenshot below:
See the app.cs file & XAML files here:
If there is anything else you need to know, please let me know.