Skip to content

Remove cached image when bookmark is removed.` #1

@Cortlandd

Description

@Cortlandd

Discovered larger app size (cache) because of bookmarks saved. Adapter is downloading the image. Need alternative or a way to kill the cached image.

BookmarkAdapter.kt

doAsync {
    var url = URL(bookmark.thumbnail.toString())
    var bitmap = BitmapFactory.decodeStream(url.openConnection().getInputStream())

    uiThread {
       holder.mThumbnailImage.setImageBitmap(bitmap)
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions