title: How to display image from sql database to listview in android xamarin using webservices and json?
body: <p>How to display image from sql database to listview in android xamarin using webservices and json?</p>
  
  <pre><code>public override View GetView(int position, View convertView, ViewGroup parent)
      {
          var item = objList[position];
  
          if (convertView == null)
          {
              convertView = objActivity.LayoutInflater.Inflate(Resource.Layout.ContListViewHospName, null);
          }
          convertView.FindViewById&lt;TextView&gt;(Resource.Id.tvHospID).Text = item.HospID;
          convertView.FindViewById&lt;TextView&gt;(Resource.Id.tvHospName).Text = item.HospName;
  
          byte[] img = (byte[])item.HospLogo;
  
          Bitmap bitmap = BitmapFactory.DecodeByteArray(item.HospLogo, 0, item.HospLogo.Length);
  
          convertView.FindViewById&lt;ImageView&gt;(Resource.Id.imgLogo).SetImageBitmap(bitmap);
          return convertView;
      }
  </code></pre>