Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Краш при загрузке картинки большого размера Android #116

Open
a9992099300 opened this issue Aug 3, 2023 · 0 comments

Comments

@a9992099300
Copy link

При загрузке изображения большого размера вызывается исключения, просьба обернуть в try catch в файле OutlineImageView

override fun onDraw(canvas: Canvas?) {
try {
super.onDraw(canvas)
onDrawForegroundCompat(canvas)
} catch (error: Exception) { }// api >= 23 is required for [onDrawForeground]
}

@a9992099300 a9992099300 changed the title Краш при загрузке картинки большого размера Краш при загрузке картинки большого размера Android Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant