Dec 17, 2021
Datastore is reactive only api over shared preferences and it is still File operation managed by Dispatchers.IO thread pool , so at the last you will be having number of tasks which will keep busy your app thread pool and which in return will delay other api calls in thread pool and will cause delay for rendering the data on screen.
So Data store also should not be used for this case since on Room DB you can do operation in bulk with one connection but it can't happen with Shared preferences updates.