I have a BottomsheetDialogFragment which has a normal Fragment which has a recyclerview. The problem is I am not able to scroll the recyclerview.
I thought of using the NestedScrollView but I have a search functionality inside the fragment. When the Keypad pops up, its working fine but as soon as the keypad hide the transition of the bottomsheet coming down is not okay. So, i am not able to use that.
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:id="@+id/coordinatorlayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/whitebackground"
android:focusable="true">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/whitebackground"
>
</RelativeLayout>
</android.support.design.widget.CoordinatorLayout>
And at runtime i am inflating the layout which contains the recyclerview.