The Swipe layout creates floating cards for each of our items that users can swipe off the screen. When a card is swiped it goes to the 'back' of the pile, regardless of whether the swipe is left or right.
Save last swipe
The Swipe layout requires a Save last swipe column which records the last swipe for an item. This can be set to a Basic Column or a User-specific Column. If you don't set this value, you will not be able to swipe your list.
Swiping between different list items updates the 'Last swipe time' column in your table
Save last swipe to a Basic Column
Above, we have set the Last swipe time to a basic column in our Google Sheet. However, it's important to note that, if we use a basic column that's not user-specific, all users will share the same progress and when they log-in, they will see the list has moved to another item that they did not swipe to.
Save last swipe to a User-specific Column
If we want the Swipe layout to be specific to each user, then we should use User-specific columns. After we set a User-specific Date/Time column for the 'Last swipe time', the layout will remember each user's last position.
Assigning the Last swiped value to a normal Google Sheet column will also quickly use up your sheet edit quotas if you are on a Personal or Basic plan. Alternatively, to avoid this – you could use a Glide Table.
The power of the Swipe Layout comes when we apply Actions to the left & right swipes. Under the Action section of the Swipe Layout's configuration, you'll find two dropdown menus, Left Action & Right Action. You can assign an action to your swipes and interact and affect your app's data.
The features panel of the Swipe Layout's configuration
By default, the right action is set to Show Details Screen, but we can change this to any action you see in the list.
You can set conditions on whether users can swipe or not. You can find this at the bottom of the Features panel in the layout's settings. Learn more about conditions.
At the moment we don't support sorting with the swipe layout. The sort order is currently controlled by the date/time column.