Giter VIP home page Giter VIP logo

Comments (3)

makedonsky94 avatar makedonsky94 commented on May 23, 2024

Hi! We can make gesture detector for that case. The next version will include the fix.

At the moment there is no public methods or gesture detectors in the library that covering the case you describe

from lightweight-charts-android.

supriyakhankarnw18 avatar supriyakhankarnw18 commented on May 23, 2024

Okay, thanks. when will the gesture detector be available?

from lightweight-charts-android.

makedonsky94 avatar makedonsky94 commented on May 23, 2024

We've made a new interface TouchDelegate. You can check the example of usage here.
Also, here the example of screen with scrollable view.

The main reason why we didn't make a universal touch detector is because it would take too long to implement the logic which will cover every case. So we've decided to make a custom handler that will provide easiest access to detector of touches. At the moment you should implement the logic by yourself that will cover your cases.

If you want to disable collapsing of toolbar when user is interacting with crosshair then you can disable intercepting of touches by parent after long tap event (see requestDisallowInterceptTouchEvent) and enable again after some time (ex create a timer for 2 sec and recreate it after any touch event).

If these solution is not enough for your case please let us know.

from lightweight-charts-android.

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.