[MaterialSharedAxis] Strange error logs
See original GitHub issueDescription: Every navigating back I have something like that in my logcat:
E/BufferQueueProducer: [unnamed-7175-0] setMaxDequeuedBufferCount: 2 dequeued buffers would exceed the maxBufferCount (2) (maxAcquired 1 async 0 mDequeuedBufferCannotBlock 0)
E/Surface: IGraphicBufferProducer::setBufferCount(3) returned Invalid argument
E/BufferQueueProducer: [unnamed-7175-1] setMaxDequeuedBufferCount: 2 dequeued buffers would exceed the maxBufferCount (2) (maxAcquired 1 async 0 mDequeuedBufferCannotBlock 0)
E/Surface: IGraphicBufferProducer::setBufferCount(3) returned Invalid argument
E/BufferQueueProducer: [unnamed-7175-2] setMaxDequeuedBufferCount: 2 dequeued buffers would exceed the maxBufferCount (2) (maxAcquired 1 async 0 mDequeuedBufferCannotBlock 0)
E/Surface: IGraphicBufferProducer::setBufferCount(3) returned Invalid argument
E/BufferQueueProducer: [unnamed-7175-3] setMaxDequeuedBufferCount: 2 dequeued buffers would exceed the maxBufferCount (2) (maxAcquired 1 async 0 mDequeuedBufferCannotBlock 0)
E/Surface: IGraphicBufferProducer::setBufferCount(3) returned Invalid argument
Source code: Inside the Fragment:
private fun configureAnimation() {
val exitTrx = MaterialSharedAxis.create(requireContext(), MaterialSharedAxis.X, false)
exitTransition = exitTrx
when (animationType) {
AnimationType.LINEAR -> enterTransition = MaterialSharedAxis.create(requireContext(), MaterialSharedAxis.X, true)
AnimationType.FADE -> enterTransition = MaterialFadeThrough.create(requireContext())
}
}
Android API version: 29
Material Library version: 1.2.0-alpha05
Device: Both of them:
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5
Top Results From Across the Web
How to use the MaterialSharedAxis Transition in Java
Transition between Activities. To use MaterialSharedAxis you need at less version 1.2.0 of the Material library. In your build.gradle file:
Read more >Weekly discussion, code review, and feedback thread - Reddit
I am new to Android programming, and I am absolutely stumped on the error "Unresolved reference: adView" resulting from this code:
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Did anyone find a solution?
Adding android:transitionGroup=“true” to the root layout of a fragment fixes this issue for me.