jpardogo / flabbylistview Goto Github PK
View Code? Open in Web Editor NEWAndroid library to display a ListView whose cells are not rigid but flabby and react to ListView scroll.
License: Apache License 2.0
Android library to display a ListView whose cells are not rigid but flabby and react to ListView scroll.
License: Apache License 2.0
The ListView overlaps the actionbar while scrolling.
I use it in android 9.0. something happened
Process: com.aiocw.termsinnocent, PID: 5980
java.lang.IllegalArgumentException: Invalid Region.Op - only INTERSECT and DIFFERENCE are allowed
at android.graphics.Canvas.checkValidClipOp(Canvas.java:789)
at android.graphics.Canvas.clipRect(Canvas.java:836)
at com.jpardogo.android.flabbylistview.lib.FlabbyLayout.onDraw(FlabbyLayout.java:59)
at android.view.View.draw(View.java:20226)
at android.view.View.updateDisplayListIfDirty(View.java:19101)
at android.view.View.draw(View.java:19954)
about this erro. FlabbyLayout.java
@Override protected void onDraw(final Canvas canvas) { if (mWidth == 0) mWidth = getWidth(); if (mHeight == 0) mHeight = getHeight(); mRect = canvas.getClipBounds(); mRect.inset(0, -mHeight / 2); canvas.clipRect(mRect, Region.Op.REPLACE); float startX1;
use this
if(Build.VERSION.SDK_INT >= 28){ canvas.clipPath(mPath0); }else { canvas.clipPath(mPath0, Region.Op.XOR); }
to replace
could you fix this problem?
I want to reference the library in my project(https://github.com/snowdream/android-widgets).i get the error as follows.
It seems that the minSdkVersion of my project is 8, but your minSdkVersion is 10.
If your library is avaiable for minSdkVersion 8, can you modify it to minSdkVersion 8,thank you.
[/home/snowdream/workspace/git/android-widgets/lib/src/main/AndroidManifest.xml, /home/snowdream/workspace/git/android-widgets/lib/build/exploded-aar/com.jpardogo.flabbylistview/library/1.0.0/AndroidManifest.xml:2]
Main manifest has <uses-sdk android:minSdkVersion='8'> but library uses minSdkVersion='10'
Hi
I am loading images in this FlabbyListView using UIL library. I want to set background color of listview items like you are doing(but I want to change alternate color only). Problem is that color loads as image gets loaded. Please how can we add background color of listitems before loading image.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.