you will need a local DB to store the data you get from the API.
what you can do:
1. your Api call should only interact with the local database, whenever you call the api you replace all the database data with the new data
2. And your Ui collects data from the local database all the time as a Flow, so whenever a new results is stored in the DB it will be reflected on your Ui
to use the local DB you can use RoomDB, or SqlDelight… or whatever you like, but not sure if RoomDB supports KMP