-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
Horizontal Scroll View inside my List-item is not working #31
Comments
How would you expect this to work? Even if you could get both widgets to play nice with one another it would lead to massively confusing user experience (is it going to scroll left, or am I going to trigger a delete on my item?) If you need to place a horizontal scroll view in your listview, this would be a red flag to me and I would take a closer look at my design. |
@wdullaer I'm following the google inbox design. Whole list-view item is not the horizontal scroll view but it only shows the attachments. In short it is totally the blue print of google inbox. Please check and then give your comments about that. Looking forward |
@wdullaer waiting for your response. Please help! |
The way the library is currently implemented, this is not possible. |
@wdullaer just for the sake of argument, if i write this line in my adapter "attachment_view.getParent().requestDisallowInterceptTouchEvent(true);" it started working means horizontal scroll view items starts scrolling. but now another problem is that user can not scroll list by tapping on attachment view? Got my point? |
What you're doing there is requesting my library not to treat the swipe events and it is complying. This is why you will never get the horizontal swipe. What you could try to do is have your application code set and unset that flag at the appropriate times. Like I said in the previous comment: this library is currently not set up to do this kind of work. It would need to inspect all its children for horizontal scroll behaviour, keep track of their horizontal scroll state and then pass the touch events as required. |
I've Horizontal Scroll view inside my every list-item but its scroll is not working. Whenever i try to swipe the horizontal scroll view, list-item swipe actions is called. Would you please tell me how to fix this? or any other alternative to horizontal scroll view?
The text was updated successfully, but these errors were encountered: