guys you should take a look on the gridview on framer, it has the feature that the containers inside the grid can be set to be 2 columns * 3 rows, or 2*1 etc. This make bento UI design extremely easy
I have the development of an app stopped because the staggeredView is not working as it should, when I scroll the page with images the app closes, I have tested it from Android 10 to the current version and the same bug persists. And another thing you should change is the way the images load, when I scroll the page and I decide to go back to the top the images are reloaded again, it should be how it is on Pinterest, no matter how much I scroll the page, the images do not recharges again when returning to the top.
this is somewhat tricky, since by default if you add one image container to staggered view and then mapp those values it will just work like a simple grid view, So you have to add 3-4 containers manually of different sizes, these sizes then repeats through out the screen, then you map four of the images on the containers one by one by indexes as index 0 gets mapped to first container and same goes till 4th, the tricky part is if you have infinite images, then you have to dynamically increment those indexes for the next container, which for example is 5th (you will add a custom function that will map the first index as Index+5)
guys you should take a look on the gridview on framer, it has the feature that the containers inside the grid can be set to be 2 columns * 3 rows, or 2*1 etc. This make bento UI design extremely easy
Is it possible to set container height based on content?
Nice tutorial
I have the development of an app stopped because the staggeredView is not working as it should, when I scroll the page with images the app closes, I have tested it from Android 10 to the current version and the same bug persists. And another thing you should change is the way the images load, when I scroll the page and I decide to go back to the top the images are reloaded again, it should be how it is on Pinterest, no matter how much I scroll the page, the images do not recharges again when returning to the top.
can I populate the stageredview with pictures of documents with their specs who have their link in the database. I have +100 records to fill in.
Can you give me tutorial for login user admin different page without database?
How do we make a dynamic gallery using the StaggeredView?
this is somewhat tricky, since by default if you add one image container to staggered view and then mapp those values it will just work like a simple grid view,
So you have to add 3-4 containers manually of different sizes, these sizes then repeats through out the screen, then you map four of the images on the containers one by one by indexes as index 0 gets mapped to first container and same goes till 4th, the tricky part is if you have infinite images, then you have to dynamically increment those indexes for the next container, which for example is 5th (you will add a custom function that will map the first index as Index+5)
tricky but doable,