NestedScrollView does not scroll when scrolling carbon.recyclerView after second touch event.
bekabot opened this issue · comments
problem disappears when using support's RecyclerView.
<android.support.design.widget.CoordinatorLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context="my.projectname.kz.ui.ScrollableController">
<android.support.v4.widget.SwipeRefreshLayout
android:id="@+id/swipe_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clickable="true"
android:clipToPadding="false"
android:focusable="true"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
<android.support.v4.widget.NestedScrollView
android:id="@+id/nested_scroll_view"
android:layout_width="match_parent"
android:layout_height="match_parent">
<carbon.widget.LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<carbon.widget.RecyclerView
android:id="@+id/alert_recyclerview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clipToPadding="false"
app:layoutManager="android.support.v7.widget.LinearLayoutManager"
tools:itemCount="1"
tools:listitem="@layout/viewholder_alert_pass" />
LinearLayoutManager layoutManager = new LinearLayoutManager(binding.alertRecyclerview.getContext(),
LinearLayoutManager.VERTICAL, false);
binding.alertRecyclerview.setNestedScrollingEnabled(false);
binding.alertRecyclerview.setLayoutManager(layoutManager);
binding.alertRecyclerview.setAdapter(alertAdapter);
Nexus 5x, Android 8.1.0
Could you please record a video of you issue or describe it more precisely? I'm not sure, what exactly is supposed to be the problem.
I'm sorry, but I don't understand what is the problem. Without any further explanation I'm unable to help.