I have this code to detect but only fire when scroll down for both method ItemAppearing and ItemDisappearing. Anyone please help
public MatchDetailListView() : base(ListViewCachingStrategy.RecycleElement)
{
ItemAppearing += MatchDetailListView_ItemAppearing;
ItemDisappearing += MatchDetailListView_ItemDisappearing;
}
private void MatchDetailListView_ItemDisappearing(object sender, ItemVisibilityEventArgs e)
{
}
private void MatchDetailListView_ItemAppearing(object sender, ItemVisibilityEventArgs e)
{
if (e.ItemIndex == 0)
{
MessagingCenter.Send(nameof(MatchDetailListView), "ScrollDown");
}
}