Azoft / CarouselLayoutManager

Android Carousel LayoutManager for RecyclerView
Apache License 2.0
2.56k stars 369 forks source link

Disable Zooming effect while scrolling when Zooming is enabled #35

Closed saisasanksunkavalli closed 7 years ago

saisasanksunkavalli commented 7 years ago

Im using the following line to enable the zoom effects , layoutManager.setPostLayoutListener(new CarouselZoomPostLayoutListener());. The problem with this , even when I am scrolling , every item is getting zoomed when it comes to center , which I feel is distracting the user. How to remove this effect while scrolling ?

Regards, Sasank

mig35 commented 7 years ago

@saisasanksunkavalli Not sure if you can do this. You can write custom CarouselZoomPostLayoutListener and somehow detect RecyclerView state. This is not library issue.