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

Enable diagonal scroll on the session list without using custom layoutmanager #111

Merged
merged 2 commits into from
Feb 6, 2017

Conversation

jmatsu
Copy link
Contributor

@jmatsu jmatsu commented Feb 6, 2017

Issue

Overview (Required)

  • Enable diagonal scroll on the session list to use motion event dispatch/simulate process.

Known issue

  • You couldn't see any effects when pressed a session long

Links

  • None

Screenshot

bullheadmmb29qjmatsu02062017191231

Jumpei Matsuda added 2 commits February 6, 2017 18:49
+ Replaced original two way view with custom one
+ Dispatch touch events to scroll recyclerview
+ Simulate click event to fire click events on views in recyclerview
@konifar
Copy link
Contributor

konifar commented Feb 6, 2017

👀

@konifar
Copy link
Contributor

konifar commented Feb 6, 2017

Cool 🆒


binding.recyclerView.onTouchEvent(e);

if (!isScrolling && binding.recyclerView.getScrollState() == RecyclerView.SCROLL_STATE_IDLE
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

genius

@konifar konifar merged commit 2c0e2e2 into master Feb 6, 2017
@konifar konifar deleted the enable_diagonal_scroll branch February 6, 2017 10:46
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

Successfully merging this pull request may close these issues.

3 participants