When I put RecyclerView inside NestedScrollView then onBindViewHolder is calling for all row like say I have list which has size of 30
RecyclerView
NestedScrollView
onBindViewHolder
It's right.Because you are using a ScrollView.ScrollView is not recyclable like RecyclerView or ListView.It will show all view contains these out of screen in one time.You should use a other layout instead.
ScrollView
ListView