As far as I remember, I didn't have to do anything similar with Flutter. It's hot reload just executed all the logic so the result shown in preview was the actual app, not some mocked up hybrid.
@bernaferrari, have you ever provided "mocks" for Flutter's hot reload to work?
I finished my benchmark of threads and coroutines memory consumption in Android. The report soon.
In the meanwhile, let's test your intuition: what's the ratio between the memory consumption of a single thread and a single coroutine in Android apps?
Just wasted 30 minutes because I forgot that CountDownLatch.await() in Java doesn't release locks that might be held by the calling thread. Therefore, this code is a recipe for a deadlock:
People are stereotyped about iOS memory and task management.
I have written a thread for this to explain why I think so.
And spolier alert, it's not even close to android's superior background task and memory management. Please read it keeping all stereotypes and bias aside🤘