Skip to content

Commit 5ab1ea8

Browse files
committed
Version 11.2.1
- Fixes #72
1 parent b22f669 commit 5ab1ea8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apply plugin: 'com.android.library'
22

3-
def libVersion = '11.2.0'
3+
def libVersion = '11.2.1'
44

55
android {
66
compileSdkVersion 25

lib/src/main/java/com/turingtechnologies/materialscrollbar/MaterialScrollBar.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ public void onScrolled(RecyclerView recyclerView, int dx, int dy) {
727727
}
728728

729729
//Disables any swipeRefreshLayout parent if the recyclerview is not at the top and enables it if it is.
730-
if(swipeRefreshLayout != null){
730+
if(swipeRefreshLayout != null && !swipeRefreshLayout.isRefreshing()){
731731
if(((LinearLayoutManager)recyclerView.getLayoutManager()).findFirstCompletelyVisibleItemPosition() == 0){
732732
swipeRefreshLayout.setEnabled(true);
733733
} else {

0 commit comments

Comments
 (0)