Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

iOS ListView Cell remove MenuItem stays open on delete

$
0
0

Hi all,
I've got a ListView with a swipe-to-remove button in my ViewCell, using following XAML:

<ViewCell.ContextActions>
<MenuItem Text="Remove" IsDestructive="true" Command="{Binding Delete}"></MenuItem>
</ViewCell.ContextActions>

I got this code from http://developer.xamarin.com/guides/cross-platform/xamarin-forms/working-with/listview/

When tapping the Remove button, the cell item is removed from the ListView's ItemsSource and as a result the row is removed correctly from the table.
However, once the row is gone, the remove button of the row below it is shown (as if the user has also swiped on that row).

Has anyone seen the same behavior?

thanks,
Thomas


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>