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

ListView Item not firing for the second time in UWP.

$
0
0

Hi,

When I select an item in the listview for the second time it is not firing. I am using ItemSelected property of the listview.

I research about this and found the solution like setting a null value for the selected item at the end of the code, like below:

((ListView)sender).SelectedItem = null;

I am calling a displayactionsheet when tapping on a listview item. When I set null at the end showing the displayactionsheet 2 times in the android but working perfectly in uwp section.

Also, try ItemTapped property of listview with a null value at the end. Which is working perfectly in android and breaking the app in UWP. I don't have mac access now, so don't know what will happen at the IOS side.

Is there any solution for this?
Thanks in advance :)


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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