GithubHelp home page GithubHelp logo

Comments (5)

pocmo avatar pocmo commented on August 23, 2024

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

from yaaic.

fearphage avatar fearphage commented on August 23, 2024

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

from yaaic.

danopia avatar danopia commented on August 23, 2024

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.

from yaaic.

pocmo avatar pocmo commented on August 23, 2024

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.

from yaaic.

pocmo avatar pocmo commented on August 23, 2024

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.

from yaaic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.