Comments (4)
I had this problem because of a custom subview on the list cells. In my case a "MaterialSwitch" was trying to render a shadow outside of the cell bounds. Try hiding all the custom subviews on your cells to see if this is the cause of the problem. The sample project does not experience this problem, so make close comparison.
from stickylistheaders.
from stickylistheaders.
Hi,
you just need to remove :
.setCropShape(CropImageView.CropShape.OVAL)
from stickylistheaders.
Error Logcat:
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.xposure.globalhubs, PID: 26870
java.lang.IllegalArgumentException: Invalid Region.Op - only INTERSECT and DIFFERENCE are allowed
at android.graphics.Canvas.checkValidClipOp(Canvas.java:791)
at android.graphics.Canvas.clipPath(Canvas.java:1019)
at co.ceryle.radiorealbutton.RoundedCornerLayout.dispatchDraw(RoundedCornerLayout.java:80)
at android.view.View.buildDrawingCacheImpl(View.java:19613)
at android.view.View.buildDrawingCache(View.java:19479)
at android.view.View.draw(View.java:20068)
at android.view.ViewGroup.drawChild(ViewGroup.java:4379)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4152)
at android.view.View.draw(View.java:20375)
at android.view.View.updateDisplayListIfDirty(View.java:19223)
at android.view.View.draw(View.java:20076)
at android.view.ViewGroup.drawChild(ViewGroup.java:4379)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4152)
at android.view.View.updateDisplayListIfDirty(View.java:19214)
at android.view.View.draw(View.java:20076)
at android.view.ViewGroup.drawChild(ViewGroup.java:4379)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4152)
at android.view.View.updateDisplayListIfDirty(View.java:19214)
at android.view.View.draw(View.java:20076)
at android.view.ViewGroup.drawChild(ViewGroup.java:4379)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4152)
at android.view.View.updateDisplayListIfDirty(View.java:19214)
at android.view.View.draw(View.java:20076)
at android.view.ViewGroup.drawChild(ViewGroup.java:4379)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4152)
at android.view.View.updateDisplayListIfDirty(View.java:19214)
at android.view.View.draw(View.java:20076)
at android.view.ViewGroup.drawChild(ViewGroup.java:4379)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4152)
at android.view.View.updateDisplayListIfDirty(View.java:19214)
at android.view.View.draw(View.java:20076)
at android.view.ViewGroup.drawChild(ViewGroup.java:4379)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4152)
at android.view.View.draw(View.java:20375)
at com.android.internal.policy.DecorView.draw(DecorView.java:1239)
at android.view.View.updateDisplayListIfDirty(View.java:19223)
at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:686)
at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:692)
at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:801)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:3399)
at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:3192)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2561)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1514)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7387)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1063)
at android.view.Choreographer.doCallbacks(Choreographer.java:875)
at android.view.Choreographer.doFrame(Choreographer.java:807)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1049)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7104)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:876)
from stickylistheaders.
Related Issues (20)
- ExpandableStickyListHeadersListView has only one child HOT 1
- How to change the content of the header to the marigin start?
- Crash on scrolling listview java.lang.ArrayIndexOutOfBoundsException: HOT 1
- facing ANR Warning
- can load more?
- Multi choice mode not working
- -
- How to return the headerId? HOT 1
- Robolectric tests failing when used on Robolectric4/Androidx
- access to mSelectorPosition and mSelectorRect will be removed by the Android Framework HOT 1
- [QUESTION] Where I can find the CI service?
- Change the grouping of the sections rather then by first character
- app_bar_scrolling_view_behavior not working
- [Security] Static Scan Issues faced on MobSF platform
- Fatal Exception: java.lang.ClassCastException android.widget.FrameLayout$LayoutParams cannot be cast to android.widget.AbsListView$LayoutParams HOT 2
- adding footer not working
- Not compatible with Android 10 HOT 4
- List header HOT 1
- Handling non empty state of parent class is not implemented HOT 4
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 stickylistheaders.