2 ms·
What aspect of an ORM encourages blocking the UI thread anymore than direct DB access? Most Android ORMs explicitly make it easier not to block the UI thread by
by BoorishBears 9y ago
What aspect of an ORM encourages blocking the UI thread anymore than direct DB access? Most Android ORMs explicitly make it easier not to block the UI thread by offering callbacks and reactive streams.
>For a great example of successful UI code, see Chromium, which explicitly outlaws blocking I/O on the UI thread.
Android explicitly outlaws network I/O on the UI thread by default, and can be configured to block disk I/O too via StrictMode