Is there any specific reasoning why LazyGridScope and LazyListScope are independent? Why not having a common LazyScope that they both use, which would allow a developer to use the same items/item function in both types of lazy layouts
Something like this:
Perhaps to discourage inheritance in favor of composition. Just guessing.
j
Joel Denke
02/09/2024, 7:16 AM
There is some things like spanning, only working in grid and not list as of example. Maybe interface could inherit but most probably more cases where not overlap at all.