I'm trying to make the effect "affix" from bootstrap. When the user scroll the page, I want StackLayout to stop at the top of his parent.
Is there any way to do so?
Here's what I'm asking (I'm using Parallax effect on this example):
[![1]](https://i.stack.imgur.com/0Dgs9.png)
Thanks.
I'm trying to make the effect "affix" from bootstrap. When the user scroll the page, I want StackLayout to stop at the top of his parent.
Is there any way to do so?
Here's what I'm asking (I'm using Parallax effect on this example):
[![1]](https://i.stack.imgur.com/0Dgs9.png)
Thanks.
Copyright © 2021 Jogjafile Inc.
My comment "Why not to use a ListView with grouping which has this functionality built-in?" is partly correct.
Using ListView with grouping will automatically provide a "Sticky Header" functionality on iOS but not on Android.
So for iOS the next code will work:
For Android you will have to create a custom renderer, luckily there is a good example on github.