Open Wavesonics opened 7 years ago
For me the same
java.lang.IllegalArgumentException: top point of input rect can't be lower than minTop
at com.beloo.widget.chipslayoutmanager.gravity.CenterInRowGravityModifier.modifyChildRect(CenterInRowGravityModifier.java:9)
at com.beloo.widget.chipslayoutmanager.layouter.AbstractLayouter.applyChildGravity(AbstractLayouter.java:277)
at com.beloo.widget.chipslayoutmanager.layouter.AbstractLayouter.layoutRow(AbstractLayouter.java:250)
at com.beloo.widget.chipslayoutmanager.ChipsLayoutManager.fillWithLayouter(ChipsLayoutManager.java:893)
at com.beloo.widget.chipslayoutmanager.ChipsLayoutManager.fill(ChipsLayoutManager.java:821)
at com.beloo.widget.chipslayoutmanager.ChipsLayoutManager.onScrolled(ChipsLayoutManager.java:1165)
at com.beloo.widget.chipslayoutmanager.ScrollingController.scrollBy(ScrollingController.java:159)
at com.beloo.widget.chipslayoutmanager.ScrollingController.scrollVerticallyBy(ScrollingController.java:152)
at com.beloo.widget.chipslayoutmanager.ChipsLayoutManager.scrollVerticallyBy(ChipsLayoutManager.java:1138)
at android.support.v7.widget.RecyclerView$ViewFlinger.run(RecyclerView.java:4838)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:874)
at android.view.Choreographer.doCallbacks(Choreographer.java:686)
at android.view.Choreographer.doFrame(Choreographer.java:618)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:860)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6236)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)
Any further information needed to fix that ?
I got the same crash, it was working fine until I added .setRowStrategy(ChipsLayoutManager.STRATEGY_CENTER_DENSE)
, it didn't crash for other strategies
for me, this message always shows when fast scrolling to top of the recyclerView , it's reproducible
same crash
ChipsLayoutManager chipsLayoutManager = ChipsLayoutManager.newBuilder(this) .build(); rec.setLayoutManager(chipsLayoutManager);
any update on this ?
I got the same crash. Any update??
Fatal Exception: java.lang.IllegalArgumentException: top point of input rect can't be lower than minTop at com.beloo.widget.chipslayoutmanager.gravity.CenterInRowGravityModifier.modifyChildRect(CenterInRowGravityModifier.java:9) at com.beloo.widget.chipslayoutmanager.layouter.AbstractLayouter.applyChildGravity(AbstractLayouter.java:277) at com.beloo.widget.chipslayoutmanager.layouter.AbstractLayouter.layoutRow(AbstractLayouter.java:250) at com.beloo.widget.chipslayoutmanager.ChipsLayoutManager.fillWithLayouter(ChipsLayoutManager.java:893) at com.beloo.widget.chipslayoutmanager.ChipsLayoutManager.fill(ChipsLayoutManager.java:821) at com.beloo.widget.chipslayoutmanager.ChipsLayoutManager.onScrolled(ChipsLayoutManager.java:1165) at com.beloo.widget.chipslayoutmanager.ScrollingController.scrollBy(ScrollingController.java:159) at com.beloo.widget.chipslayoutmanager.ScrollingController.scrollVerticallyBy(ScrollingController.java:152) at com.beloo.widget.chipslayoutmanager.ChipsLayoutManager.scrollVerticallyBy(ChipsLayoutManager.java:1138) at androidx.recyclerview.widget.RecyclerView.scrollStep(RecyclerView.java:1841) at androidx.recyclerview.widget.RecyclerView$ViewFlinger.run(RecyclerView.java:5302) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:999) at android.view.Choreographer.doCallbacks(Choreographer.java:797) at android.view.Choreographer.doFrame(Choreographer.java:728) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:984) at android.os.Handler.handleCallback(Handler.java:883) at android.os.Handler.dispatchMessage(Handler.java:100) at android.os.Looper.loop(Looper.java:237) at android.app.ActivityThread.main(ActivityThread.java:8167) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
I don't know what causes this, it's possibly when populating, but I don't have a solid repro.