How to specify list item count in preview of recyclerview in Android Studio?

Try this (3 number of items)

tools:itemCount="3"