My Recycler Item which inflate in onCreateViewHolder
You don't need to set the height of an item. The problem here is that image tries to fill all the space. Just add android:adjustViewBounds="true" to your ImageView and it will not add blank spaces
android:adjustViewBounds="true"