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

Ability to change channel with swipe while in single channel view. #38

Closed
elijh opened this issue Jan 6, 2011 · 5 comments
Closed

Ability to change channel with swipe while in single channel view. #38

elijh opened this issue Jan 6, 2011 · 5 comments
Assignees
Labels
Milestone

Comments

@elijh
Copy link

elijh commented Jan 6, 2011

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.

@pocmo
Copy link
Owner

pocmo commented Jan 7, 2011

Yeah, maybe that's possible. The reason it's currently not possible is because the gesture detection is already needed to detected vertical scrolling.

@fearphage
Copy link

Many apps have vertical and horizontal scrolling so it is possible - Plume (previously Touiteur) for instace.

@danopia
Copy link

danopia commented Jun 19, 2011

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.

@pocmo
Copy link
Owner

pocmo commented Jun 28, 2011

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.

@pocmo
Copy link
Owner

pocmo commented Nov 20, 2011

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.

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

No branches or pull requests

4 participants