i am implementing recyclerview inside scrollview
<LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:focusableInTouchMode="true"
            android:orientation="vertical">
            <android.support.v7.widget.RecyclerView
                android:id="@+id/rv1"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:divider="@android:color/transparent"
                android:dividerHeight="0dp"
                android:listSelector="@android:color/transparent" />
        </LinearLayout>
set recyclerview to fixed height like this
    mRecyclerView_other.setHasFixedSize(true);
    RecyclerView.LayoutManager layoutManager_other = new LinearLayoutManager(context);
    mRecyclerView_other.setLayoutManager(layoutManager_other);
    int adapterItemSize = 64;
    int viewHeight = adapterItemSize * list.size();
    mRecyclerView_other.getLayoutParams().height = viewHeight;
    mRecyclerView_other.setAdapter(adapter_other);
as holder height will be fixed to 64dp i have put adapterItemSize = 64, but the issue i am facing is only two rows from the list are visible.
 
    