3 ms·
Is there an Android sample app that show how to do I/O properly (off the main thread, and so on)? I know there's some kind of system to prevent network I/O on
by pas 10y ago
Is there an Android sample app that show how to do I/O properly (off the main thread, and so on)?
I know there's some kind of system to prevent network I/O on the main thread... w... why... I dare to ask the obvious, w-wwhy isn't there a warning for simple disk I/O too?
- cuu508 10y agoAndroid's StrictMode can monitor and notify about both network IO and disk IO.
- pas 10y agoI found that, and looks very powerful, but that's a bit more than a simple switch in Android Studio, yet less than a warning on the Play Console, because you have to add it to your code (so not a static analyzer).