Skip to content
This repository was archived by the owner on Jan 7, 2023. It is now read-only.

Commit c446bb5

Browse files
authored
Merge pull request #30 from jama5262/develop
Release version 1.2.0
2 parents 966cf6c + b41cd1c commit c446bb5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

carouselview/src/main/java/com/jama/carouselview/CarouselView.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ private void setAdapter() {
120120
carouselRecyclerView.setLayoutManager(this.layoutManager);
121121
this.carouselRecyclerView.setAdapter(new CarouselViewAdapter(getCarouselViewListener(), getResource(), getSize(), carouselRecyclerView, this.getSpacing(), this.getCarouselOffset() == OffsetType.CENTER));
122122
if (this.enableSnapping) {
123+
this.carouselRecyclerView.setOnFlingListener(null);
123124
this.snapHelper.attachToRecyclerView(this.carouselRecyclerView);
124125
}
125126
this.setScrollListener();

0 commit comments

Comments
 (0)