c# - What's the difference between the ItemTapped and the ItemSelected event on a ListView in Xamarin.Forms? -


a listview in xamarin.forms has 2 events, (for me) seem same: itemtapped , itemselected

there isn't documentation these, difference?

itemselected state while itemtapped motion event. views can "tapped" , if remember correctly views can selected (or @ least activated there subtle difference), 2 don't have go do. example you'd have item's selected state toggled each time "tapped" motion event has occurred. once again make more clear can associate changes of selected state whatever need whether it's motion event "tapping" or "long pressing" or "double tapping" , on or other event or logic.

hope helps , luck!


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -