Yalantis/pull-to-make-soup

RecycleView not scrolling

Axrorxoja opened this issue · 6 comments

When I saw this project the first time I'm wonderful,cool project, but when I use it with recyclerview, it does not scroll down

Hello, @daaark can you provide device and android version you were using ?

samsung s3 neo,but in emulator did not work either,can you show me one example about scroollable recycleview with pull-to-make-soup

<com.yalantis.pulltomakesoup.PullToRefreshView
        android:id="@+id/pull_to_refresh"
        app:type="soup"
        android:layout_width="match_parent"
        android:layout_height="match_parent">

<android.support.v7.widget.RecyclerView
            android:id="@+id/recycler_view"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:divider="@null"
            android:dividerHeight="0dp"
            android:fadingEdge="none"/>

    </com.yalantis.pulltomakesoup.PullToRefreshView>


 RecyclerView recyclerView = (RecyclerView) findViewById(R.id.recycler_view);
        recyclerView.setLayoutManager(new LinearLayoutManager(this));
        recyclerView.setAdapter(new SampleAdapter());

        mPullToRefreshView = (PullToRefreshView) findViewById(R.id.pull_to_refresh);
        mPullToRefreshView.setOnRefreshListener(new PullToRefreshView.OnRefreshListener() {
            @Override
            public void onRefresh() {
                mPullToRefreshView.postDelayed(new Runnable() {
                    @Override
                    public void run() {
                        mPullToRefreshView.setRefreshing(false);
                    }
                }, REFRESH_DELAY);
            }
        });

here it is just like in sample

sorry but your example not working,it's example https://github.com/DaaarK/TestPullRefresher and it's apk file http://www.droidbin.com/p1bb66rbjl7pl6fbqb4ggtjl93

@daaark I found out what was the problem, try out the new version.
Note that we've changed the import so you be needing
In your project level build.gradle

 	allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

In your app level build.gradle

 compile 'com.github.Yalantis:pull-to-make-soup:1.0.2'

Thanks, everything works cool