简体   繁体   中英

Is there any way of unregister a longlistmultiselector from an ObservableCollection?

I have an app with a list of photos on an ObservableCollection. I'm using that list as source for longlistmultiselectos on diferent views.

Now I realize that the views that use that ObservableCollection are not garbage collected and each time the user navigates to a new view it is created again despite it is on memory or not.

I think it is because the ObservableCollection is keeping a reference to the view.

How can I broke that reference? Is there another aproach to this problem.

Thank you very much. Sorry for my english.

将LongListMultiSelector的ItemSource属性设置为null将中断此循环。

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM