federicoiosue / Omni-Notes

Open source note-taking application for Android
https://omninotes.app
GNU General Public License v3.0
2.67k stars 1.11k forks source link

Asynchronous long running calls #734

Closed nasrilg7 closed 4 years ago

nasrilg7 commented 4 years ago

I'm using OmniNotes open source app as a case study for my University. I see that the App has a couple of implementations of Asynchronous code where some tasks run in the background. I'm wondering, are there any long-running asynchronous tasks that have a human-noticeable delay?

federicoiosue commented 4 years ago

Please provide a more specific block of code or reference to it. Generally speaking async tasks should be used to avoid data I/O, network connections, and more on the main thread. It's not just a matter of user waiting but the fact that the entire UI would be blocked by that process!