Great article, thank you! :)
Isn’t it so that SQLite Write-Ahead-Logging (enabled by default on Room 1.1 if I remember correctly) is the solution for this data integrity problem? My understanding is that if you limit the database to one thread, it means that a query will need to wait until a previous query completes. So…
Thanks for the tip!
You might already know that, but I thought it’d be worth mentioning that you don’t actually need a provide method for
VideoPlayer in your example, which also means that you don’t need
VideoPlayerModule at all.
Thanks for sharing your experience with Instant Apps.
For implementing custom tasks or even plugins, I personally prefer strongly typed languages so that’s first reason for me why not use Groovy. You get better IDE and more predictable code than dynamic languages in my opinion. When it comes to Java vs Kotlin, I’d choose Kotlin. Nevertheless, I still think Groovy should be used in Gradle scripts. The…
Very good article, thank you.
Say I have an Activity that binds and unbinds a Service in onStart/onStop respectively. Input comes from the user and needs to be processed by the bound service. What would be your approach in this case to do it with MVP?