fun loadIcon(suggestion: ApplicationSuggestion): Drawable? { return try { val `is`: InputStream = mContext.getContentResolver().openInputStream(suggestion.getThumbailUri()) Drawable.createFromStream(`is`, null) } catch (e: FileNotFoundException) { null } }
Loads the icon for the given suggestion .