Edited:
glide to load images. I\'m getting Out of
I solved this issue by removing nested scroll view placed above recyclerview. Why OutOfMemory error occurred means, when loading more than 200 images in home page, it is loading all 200 images because of using nested scroll view above recyclerview.
So I can't check the logcat image view width and height one by one in adapter.
After removed nested scroll view fixed out of memory error.because it will load only 3 images displayed in device when coming to home activity.
Also check this, how to use scroll instead of nested scroll view.