Closed prashantsaini1 closed 2 months ago
I think not many people use the <HeaderView>
:smile: I had some users test the PR before and they had no issues, looks like they also didn't use headers.
Please run https://github.com/tidev/kitchensink-v2 with this PR:
Rows are pushed out to the left if they have a right image.
I didn't know about Barriers. Looks like that had saved me some code :smile:
@m1ga
Rows are pushed out to the left if they have a right image.
This is fixed.
I didn't know about Barriers. Looks like that had saved me some code 😄
There are Barrier, Guideline, Groups and Chains which makes ConstraintLayout powerful and enables it to create highly dynamic layouts.
Issue: while scrolling the list-view, some items spacing is changed, leaving to empty cells sort of. This may have happened by setting constraints programmatically as I did not notice this issue on SDK 12.5.0.v20240820214230. A video is attached to see the issue.
Fix: using Barrier, we can avoid setting constraints programmatically and potentially fixing this issue.
Code as in recorded video:
https://github.com/user-attachments/assets/c3dd5c96-5287-437c-9474-07656179a09d