Comments (3)
i tried using https://github.com/ismaeltoe/flowlayout with exact same code and that fixed the problem, maybe something to be aware of when you update it ? Thanks
Technically itd still be cool to know what went wrong
from flowlayout.
I am getting the same error.
I noticed that line 109 is:
measureChildWithMargins(child, widthMeasureSpec, lineWidth, heightMeasureSpec, height);
from flowlayout.
Issue here us that layout only accepts FlowLayout.LayoutParams
. If you pass in any other layout params layout will fail. I have added checkLayoutParams
that will detect that and fail early if you pass invalid LayoutParams
.
from flowlayout.
Related Issues (20)
- Right side getting cut off HOT 2
- Gutter for childs HOT 4
- margin child doesn' t take effect HOT 1
- the source jar of 0.4.0v in maven Central Repository is broken HOT 1
- addview not working crash app HOT 5
- Item show with animation HOT 1
- Set margin programatically not work HOT 2
- Last row center alligned HOT 1
- Add view at runtime HOT 3
- Failed to resolve: com.wefika:flowlayout HOT 2
- Gravity issues HOT 5
- Error when building HOT 5
- I think when the child‘s width is wrap_content we should add a condition,so the Measure mode is AT_MOST for child HOT 1
- Line Spacing
- Buttons are not adding as per the Flow layout behaviour
- There is a problem with HorizontalPicker capture.
- Is it possble to align view in vertical direction with sing item in a row ?
- Can not set LayoutParam for childview inside flowlayot
- FlowLayout.LayoutParams params = new FlowLayout.LayoutParams(100, 100); showing error flow layout is not an enclosing class 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 flowlayout.