Is it possible to get the index number of a listview cell that is on the top of the ListView when OnDisappear?
I am trying to store the position of the listview when a user tabs to clicks a modal, and restore it later OnAppear.
I would use ItemAppearing event
var listView = new ListView { ... };
listView.ItemAppearing += async (sender, e) =>
{
// get index of e.Item + add count of items available at visual
};
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.