flexbox-layout icon indicating copy to clipboard operation
flexbox-layout copied to clipboard

A crash that is bound to happen.

Open FengChenSunshine opened this issue 6 years ago • 5 comments

tim 20180828194318 tim 20180828194507

if data source size is zero. It collapsed. library version :1.0.0

_

FengChenSunshine avatar Aug 28 '18 11:08 FengChenSunshine

I guess no one is really maintaining this library. The FlexboxLayoutManager doesn't work at all, it keeps crashing!

insacc avatar Oct 09 '18 21:10 insacc

I think it's same as #479 is it?

thagikura avatar Jan 15 '19 08:01 thagikura

I think it's same as #479 is it? Yeah, it's the same exception as 479, but I don't know if it's the same cause as me.

FengChenSunshine avatar Jan 15 '19 08:01 FengChenSunshine

Do you create your own LayoutParams in the adapter of the RecyclerView?

If so, it's likely the same cause.

thagikura avatar Jan 15 '19 09:01 thagikura

Do you create your own LayoutParams in the adapter of the RecyclerView?

If so, it's likely the same cause.

No, I'm not create my own LayoutParams, I'm using it like a LinearLayoutManager.I found that the crash only happen when the data source size is 0, and it works normally when the data source size is not 0.

FengChenSunshine avatar Jan 15 '19 09:01 FengChenSunshine