CRamsan / CoreProject

This is a project that aims to provide a scalable architecture for mobile development.
https://cramsan.com/
1 stars 0 forks source link

Fix java.lang.IllegalStateException: Surface can have only one direct measurable child! in androidx.compose.material.SurfaceKt$SurfaceLayout$1$1.invoke #153

Closed CRamsan closed 3 years ago

CRamsan commented 3 years ago

Version 5.4.0-debug(1)

Stacktrace

androidx.compose.material.SurfaceKt$SurfaceLayout$1$1.invoke;

androidx.compose.ui.node.OuterMeasurablePlaceable$remeasure$2.invoke;

androidx.compose.ui.node.OuterMeasurablePlaceable$remeasure$2.invoke;

androidx.compose.ui.node.MeasureAndLayoutDelegate.access$doRemeasure-ivNzw_s;

androidx.recyclerview.widget.RecyclerView$LayoutManager.measureChildWithMargins (RecyclerView.java:9384);

androidx.recyclerview.widget.LinearLayoutManager.layoutChunk (LinearLayoutManager.java:1653);

androidx.recyclerview.widget.LinearLayoutManager.fill (LinearLayoutManager.java:1587);

androidx.recyclerview.widget.LinearLayoutManager.onLayoutChildren (LinearLayoutManager.java:665);

androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep2 (RecyclerView.java:4134);

androidx.recyclerview.widget.RecyclerView.dispatchLayout (RecyclerView.java:3851);

androidx.recyclerview.widget.RecyclerView.onLayout (RecyclerView.java:4404);

androidx.viewpager2.widget.ViewPager2.onLayout (ViewPager2.java:527);

Reason

java.lang.IllegalStateException: Surface can have only one direct measurable child!

Link to App Center

github-actions[bot] commented 3 years ago

Stale issue message