I have a page with the following structure (simplified):
<ContentPage>
<ScrollView>
<StackLayout Orientation="Vertical">
<Frame>
<custom:Expander>
[actual content here]
</custom:Expander>
</Frame>
<Frame>
<custom:Expander>
[actual content here]
</custom:Expander>
</Frame>
<Frame>
<custom:Expander>
[actual content here]
</custom:Expander>
</Frame>
<Frame>
<custom:Expander>
[actual content here]
</custom:Expander>
</Frame>
</StackLayout>
</ScrollView>
</ContentPage>
The content of the Frame
s is not the same.
Imagine yourself the page as some kind of details view for an item.
Every Frame
represents a different "section" of associated item information.
I would like to reduce the nesting and replace the ScrollView
> StackLayout
structure with something more performant.
What are the best practices for scenarios like mine?