-
Notifications
You must be signed in to change notification settings - Fork 120
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
Ability to change channel with swipe while in single channel view. #38
Comments
Yeah, maybe that's possible. The reason it's currently not possible is because the gesture detection is already needed to detected vertical scrolling. |
Many apps have vertical and horizontal scrolling so it is possible - Plume (previously Touiteur) for instace. |
This is definately possible. In fact, I think that some of the API demo apps have this, and I know that ConnectBot (an app that I have some hacking experience with) had some gesture code for this. |
Of course it is possible to do it in general but it may be not possible or to tricky to do with the current approach to use a Gallery for the sliding. Liato already did some tests with delegating the different events to the view that should handle it but up to now it's still not smooth enough. Branch: https://github.com/liato/Yaaic/tree/linkify-inline However currently I think why not delegate the events to all views and they decide if they can use it. That way it may work with the effect that diagonal sliding would scroll the channel horizontally AND slide vertically... Maybe that's an approach. |
Played around with the ViewPager of the compatibility package today. It's great and it's perfect for this case. You can drop a bunch of ListFragments into the pager and you'll be able to scroll horizontal between the lists, vertical in the lists and select an item from the list. So I'll remove the Gallery in the next release and replace it with the ViewPager. Thanks to the compatibility package this will still work in Android 1.6. |
I really like the ability to switch channels by swiping, but I really prefer the single-channel view. I imagine it would not be hard to add swipe-switching to it as well... Thanks.
The text was updated successfully, but these errors were encountered: