Coder Social home page Coder Social logo

Comments (7)

3llomi avatar 3llomi commented on July 18, 2024

Hi, @iskugor , can you give more details about the issue please?

from recordview.

iskugor avatar iskugor commented on July 18, 2024

@3llomi unfortunately, I cannot reproduce it, so I'm not sure what more details can I give you?

I extend "RecordView" and "RecordButton", in class that extends "RecordButton" I override "onTouch" method, maybe it's related to that?

from recordview.

3llomi avatar 3llomi commented on July 18, 2024

Yes i think that causes this issue, because RecordButton implements onTouch.
can you try to not implement onTouch and report back?

from recordview.

iskugor avatar iskugor commented on July 18, 2024

The problem is I need to disable touch event in some cases (similar to Whatsapp, you can send message and record audio).
And I cannot test it locally as I cannot reproduce it.

Maybe there's other way to disable recording?

from recordview.

3llomi avatar 3llomi commented on July 18, 2024

Yes of course!.

first of all disable the touch movement by using
recordButton.setListenForRecord(false);

then you can add a listener for the record button clicks using

recordButton.setOnRecordClickListener(new OnRecordClickListener() {
            @Override
            public void onClick(View v) {
                Log.d("RecordButton","RECORD BUTTON CLICKED");
            }
        });

from recordview.

iskugor avatar iskugor commented on July 18, 2024

Thanks, I'll give it a try!

from recordview.

mwshubham avatar mwshubham commented on July 18, 2024

image

Is it fixed in the latest version?
WE are currently using an older version

com.devlomi.record-view:record-view:2.0.1

Thanks for this wonderful library.

from recordview.

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.