I am designing an app that has a ListPicker with over 90 items. Each item consists of 2 PNG images(< 3KB in size each) and some text.
I have created a new class to represent my item and I am creating a list of this class using
List<ClassName> ClassNameList = new List<ClassName>();
in code and appending items to the list using:
ClassNameList.Add(new ClassName() {var1=..., var2=...});
In my case, var1 and var2 are paths to PNG images that are included in project.
Then, I am using databinding in <itemtemplate>
to bind my items to list.
When I load the ListPicker in emulator, memory usage shoots up above 256MB. So, I can't submit my app for newer, 256MB RAM phones. Is there any way to reduce the memory usage?