Scaling images in onCreate: Android

Read Time 2 minutesAndroid developers mostly face out of memory error when loading images into imageView. Primarily this error is raised because we try to load very large image and there is not much memory available. To prevent this, this is good idea to scale down the image according to imageView height/width. setScaledAvatar() method is doing this scaling. …

Scaling images in onCreate: Android Read More »