title: Loading Application Image icon in to imageView Using Glide
body: <p>I m making fileManager app and i load drawble image icon in my image view using glide:
  this is my drawble method:</p>
  
  <pre><code> public Drawable getapkIcon(String filepath){
  
      PackageInfo packageInfo = context.getPackageManager().getPackageArchiveInfo(filepath, PackageManager.GET_ACTIVITIES);
      ApplicationInfo appInfo = packageInfo.applicationInfo;
      if (Build.VERSION.SDK_INT &gt;= 8) {
          appInfo.sourceDir =filepath;
          appInfo.publicSourceDir = filepath;
      }
      Drawable icon = appInfo.loadIcon(context.getPackageManager());
  
      return icon;
  
  }
  </code></pre>
  
  <p>glide performs:</p>
  
  <pre><code>Glide
  .with(mContext)
  .load(mIconRepository
  .getapkIcon(filepath))
  .placeholder(R.mipmap.ic_launcher)
  .into(holder.apkImage);
  </code></pre>
  
  <p>which shows error:</p>
  
  <pre><code> java.lang.IllegalArgumentException: Unknown type class 
   android.graphics.drawable.BitmapDrawable. You must provide a Model of a
   type for which there is a registered ModelLoader, if you are using a custom
   model, you must first call Glide#register with a ModelLoaderFactory for your custom model class
  </code></pre>
  
  <p>how can i solve?</p>