Hi,
Welcome to Microsoft Q&A!
This issue might be related with the Native .NET tool chain. The Compile with .NET Native tool chain build option is activated for release builds of UWP projects, but deactivated for debug builds per default. This is a good idea in principle, because the long build time of the Native tool chain would be impossible to use for frequent test runs during development. The compiler and the .NET Native tool chain seem to produce slightly different IL code in certain scenarios, sometimes which leads to bug tickets stating that an app behaves not as specified which are not reproducible in debug mode.
In release mode, you could right click the project and select the option Properties, then disable the Compile with .NET Native tool chain in build tab, so that the code will work well. However, for more performance, I suggest you use the normal way( LV.ItemsSource = new List<string>();
) to setting Itemsource in Debug mode.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.