INNER CODE UNIT · Kotlin

onDestroy

FossifyOrg/Gallery · app/src/main/kotlin/org/fossify/gallery/activities/EditActivity.kt:252

    override fun onDestroy() {
        super.onDestroy()
        ColorModeHelper.resetColorMode(this)
    }

    private fun loadDefaultImageView() {
        binding.defaultImageView.beVisible()
        binding.cropImageView.beGone()
        binding.editorDrawCanvas.beGone()

        val options = RequestOptions()
            .skipMemoryCache(true)
            .diskCacheStrategy(DiskCacheStrategy.NONE)

        Glide.with(this)
            .asBitmap()
            .load(uri)
            .apply(options)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…