-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Platform (please complete the following information):
- OS: Android
- Device: Galaxy tab a8, emulator
- Sdk vervion: sdk32
- MAUI, net7 last
My collection
<sho:CollectionView
Grid.Row="0"
x:Name="CollectionView"
CollectionLayout="Vertical"
ItemHeight="60"
ItemTemplate="{StaticResource ComponentiSquadraTemplate}"
ItemsSource="{x:Bind Path=Loader.Result, IsItemsSource=True}"/>
<DataTemplate x:Key="ComponentiSquadraTemplate" x:DataType="models:ComponentiSquadraModel">
<sho:DraggableViewCell IsDraggable="False">
<SwipeView HeightRequest="70">
<SwipeView.RightItems>
<SwipeItems Mode="Execute">
<SwipeItem Command="{Binding Source={RelativeSource AncestorType={x:Type sho:CollectionView}}, Path=BindingContext.SwipeItemInvokedCommand}" CommandParameter="{Binding .}" />
</SwipeItems>
</SwipeView.RightItems>
<Grid HeightRequest="60">
// some entries hereù
</Grid>
</SwipeView>
</sho:DraggableViewCell>
</DataTemplate>
Appearing animations wokrs fine untill I remove some items from collection. When cell is swiped to the right it will be removed form the collection in the viewModel.
If I remove 3 items and than add 3 new items they will not have appearing animation, from the forth new item animation will be displayed. Basically number of removed items = number of times animation will not be displayed.
Screen_Recording_20230724_130440.mp4
Metadata
Metadata
Assignees
Labels
No labels