I have two different tabbed pages that I created, and the plan is to put them on one content page or single page, but I'm getting this error:
Error XLS0503 A value of type 'HomeIncidentListTabbedPage' cannot be added to a collection or dictionary of type 'IList'.
Not sure how I would achieve this.
<ContentPage.Content>
<ScrollView>
<StackLayout>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="250"/>
</Grid.RowDefinitions>
<StackLayout Orientation="Vertical" Grid.Row="0">
<Views:HomeTaskListTabbedPage/>
</StackLayout>
<StackLayout Orientation="Vertical" Grid.Row="1">
<StackLayout HeightRequest="50" BackgroundColor="#004B21">
<Label Text="ACCIDENTS/ICIDENTS" TextColor="White" FontSize="Medium" VerticalOptions="StartAndExpand" HorizontalOptions="CenterAndExpand"/>
</StackLayout>
<StackLayout Orientation="Vertical" Grid.Row="0">
<Views:HomeIncidentListTabbedPage />
</StackLayout>
</StackLayout>
</Grid>
</StackLayout>
</ScrollView>
</ContentPage.Content>