What you could do (workaround), is:
Create two listviews, one which is showing 10 records and another one showing all (enter a very high number in page size)
Create a non persistable entity with a boolean attribute ShowAll yes/no (default no).
On the page, use the non persitable object (eg use datasource microflow to create) and add a switch or button to toggle the ShowAll attribute.
Use conditional visibility for the listsviews based on the ShowAll value
Hope this works for you