Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

Using inside NestedScrollView #115

Open
NtcWai opened this issue Dec 22, 2016 · 3 comments
Open

Using inside NestedScrollView #115

NtcWai opened this issue Dec 22, 2016 · 3 comments

Comments

@NtcWai
Copy link

NtcWai commented Dec 22, 2016

My layout like that:

<android.support.v4.widget.NestedScrollView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <android.support.v7.widget.RecyclerView
            android:id="@+id/banner_list"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_alignParentTop="true"
            android:nestedScrollingEnabled="false"
            />

        <View
            android:id="@+id/divider"
            android:layout_width="match_parent"
            android:layout_height="@dimen/divider_height"
            android:layout_below="@id/banner_list"
            android:background="@color/divider"/>

        <com.malinskiy.superrecyclerview.SuperRecyclerView
            android:id="@+id/latest_post_list"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@id/divider"
            app:layout_empty="@layout/view_empty_home_tab"
            app:layout_moreProgress="@layout/view_loading_more"
            app:layout_progress="@layout/view_loading_first"
            />
    </RelativeLayout>
</android.support.v4.widget.NestedScrollView>

But the SuperRecyclerView doesn't display content. It's OK when I replace by normal RecyclerView. How to fix it ? Thanks!

@diegoRodriguezAguila
Copy link

I have this same issue, currently using support 25.1.0, with regular recyclerview it works, it would be great if we would have any response about this issue

@NtcWai
Copy link
Author

NtcWai commented Jan 25, 2017

I have the same issue, did you find any solution ?
thank you

@devbrevity
Copy link

any one find solution for this issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants