Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to handle tap on central (elevated) item? #18

Open
yargeel opened this issue Sep 25, 2016 · 1 comment
Open

how to handle tap on central (elevated) item? #18

yargeel opened this issue Sep 25, 2016 · 1 comment

Comments

@yargeel
Copy link

yargeel commented Sep 25, 2016

hello!
how to handle tap on central (elevated) item?
i'm trying to use your example (pagerContainer.setPageItemClickListener(new PageItemClickListener() ...) but it works for only side elements, not for central.

@sonshark
Copy link

My solution:
view.setOnClickListener(new View.OnClickListener() {
@OverRide
public void onClick(View v) {
Toast.makeText(Normal2Activity.this,"view click " ,Toast.LENGTH_SHORT).show();
}
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants