Comments (7)
Hi, @iskugor , can you give more details about the issue please?
from recordview.
@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.
Yes i think that causes this issue, because RecordButton
implements onTouch
.
can you try to not implement onTouch
and report back?
from recordview.
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.
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.
Thanks, I'll give it a try!
from recordview.
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)
- Attempt to invoke interface method 'boolean com.devlomi.record_view.RecordPermissionHandler.isPermissionGranted()' on a null object reference HOT 1
- Recorded Audio HOT 1
- java.lang.NullPointerException: Attempt to invoke virtual method 'void com.devlomi.record_view.RecordView.onActionDown(com.devlomi.record_view.RecordButton, android.view.MotionEvent)' on a null object reference HOT 1
- if the phone's system font size is too large, the audio recording will be canceled as soon as it starts HOT 4
- Can't change the Growing animation scale-up value.
- how change cancel direction HOT 1
- recordview causes recyclerview to malfunction HOT 13
- How can I solve this error? HOT 3
- Seen Weird behaviour when using with epoxy recycler view and parent is constraint layout HOT 1
- Render problems from example app HOT 1
- Render problems from example app HOT 2
- just click on mic HOT 1
- Lock View Like Whatsapp HOT 1
- Listener for recording LOCKED event HOT 1
- UI allignment issue and swipe to cancel not working properly HOT 1
- Exception in MessageQueue callback: handleReceiveCallback java.lang.NullPointerException: Attempt to invoke virtual method 'void com.devlomi.record_view.RecordView.onActionDown(com.devlomi.record_view.RecordButton, android.view.MotionEvent)' on a null object reference HOT 1
- Plugin crashes when quickly tapping on the record button [Very rare] HOT 1
- No display HOT 3
- Lock feature implementation HOT 1
- Lock feature is not properly working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recordview.