Comments (13)
from recordview.
Hello 3Ilomi,
I have created the class in kotlin as stated in #17, but it still doesn't work. When I create this, a new layout "custom_preview" appears in which it tells me that "android" " is invalid. Prefixed namespace bindings may not be empty".
Should I add something else in this class? What could be wrong?
from recordview.
Please, can you help me?
from recordview.
Please share the code you have + the error you got
from recordview.
Above you can see the problem that arises.
This is my own RecyclerView:
class CustomRecyclerView : RecyclerView {
constructor(context: Context?) : super(context!!) {}
constructor(context: Context?, @nullable attrs: AttributeSet?) : super(context!!, attrs) {}
constructor(context: Context?, @nullable attrs: AttributeSet?, defStyle: Int) : super(
context!!,
attrs,
defStyle
) {
}
override fun onInterceptTouchEvent(ev: MotionEvent): Boolean {
val action = ev.action
when (action) {
MotionEvent.ACTION_DOWN -> super.onTouchEvent(ev)
MotionEvent.ACTION_MOVE -> return false // redirect MotionEvents to ourself
MotionEvent.ACTION_CANCEL -> super.onTouchEvent(ev)
MotionEvent.ACTION_UP -> return false
else -> {}
}
return false
}
@SuppressLint("ClickableViewAccessibility")
override fun onTouchEvent(ev: MotionEvent): Boolean {
super.onTouchEvent(ev)
//Log.i("VerticalScrollview", "onTouchEvent. action: " + ev.getAction() );
return true
}
}
the xml file is the one from the first post but changing recylerView to the name of my own recyclerView.
What should I add in my own recyclerView to fix the error?
from recordview.
Can you help me please?
from recordview.
Send me a demo project so I can look into it.
from recordview.
@3llomi have you resolved this issue ??
from recordview.
Can you help me please?
did you find any solution?
from recordview.
@hami9872 Did you test the solution mentioned above?
Can you send me a sample Project so I can look into it?
from recordview.
@hami9872 Did you test the solution mentioned above? Can you send me a sample Project so I can look into it?
Here is the demo project when I use recycler view with this Library layouts overlap as @bettersharing mentioned before.
My Application.zip
from recordview.
@hami9872 I need fully working demo that demonstrates the issue please. I can't find the issue in the app you sent.
from recordview.
I had this exact same issue. But I managed to fix it by adding this to the AppBarLayout:
app:liftOnScroll="false"
android:elevation="6dp"
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
- 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.