I'm facing memory problem with image loading in xamarin forms list view, now i need to implement bitmap image in forms but i cant do that in xamarin forms i can't find any namespace including bit map in xamarin forms i have a normal data binding code which also binds image too
public async void GetResult()
//public void GetResult()
{
try
{
IsBusy = true;
var client = new HttpClient();
var json = await client.GetStringAsync(string.Format(Url));
var items = JsonConvert.DeserializeObject<ObservableCollection<cm_main_category>>(json.ToString());
foreach (var item in items)
{
item.image_url = "http://somelink.net" + item.image_url.Substring(1, item.image_url.Length - 1);
// item.image_url = "http://127.0.0.1" + item.image_url.Substring(1, item.image_url.Length - 1);
ListItems.Add(item);
}
IsBusy = false;
}
now i nee to implement bit map to this code what should be the approach ?