MaterialViewPager
MaterialViewPager copied to clipboard
Header Logo is clicked when its not visible
Hi header logo is clicked on a normal .its fine. But if we scroll to bottom its hided but click listener is still working. Can u please fix asap.
You may do that using onPageScrolled method of ViewPager. Get the screen size and write your codes using if statement.
Sorry I can't get it.can u help me? Can I get small help in coding level..
On 11 Sep 2016 22:55, "Nuh Koca" [email protected] wrote:
You may do that using onPageScrolled method of ViewPager. Get the screen size and write your codes using if statement.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/florent37/MaterialViewPager/issues/282#issuecomment-246192184, or mute the thread https://github.com/notifications/unsubscribe-auth/AVGsjzHgmqsj_6sKma3AOSyagjCZ5JERks5qpDl9gaJpZM4J5-xh .
hey while using onPageScrolled method of ViewPager.its not a interface.its directly asking values. Then how can i use this method for get the screen position and write a code using if. And scroll page listener also asking to set the api to 23.i m not like this approach.
i need to get the scrolling position for the view pager to fix the logo click issue. while its not visible.
Becoz of the current position only i set the header click listener to null. And again asign the click listener. Hope is this undestand.