This weekend I prepared a special promotion you. Just comment here or subscribe get a free version of my To-Do Android app. To subscribe just enter your email and hit the subscribe button and I'll send you the promo code via email. By subscribing you'll be the first notified when I write a new article, … Continue reading Free To-Do Android App
Working with Ionic 3 (Ionic 4 still sucks for production apps) I had this weird requirement to subscribe to one Observable and in case of error, wait some time, repeat the action twice and if it fails again, catch the error and do some stuff. First I thought it's really easy to do this with … Continue reading RxJs – Retry with delay and error handling
If you create Drawable objects on the fly you may have the unpleasant surprise that you introduced some memory leaks in your code. In that case, maybe you should unbind your drawables. This happens because when you display a Drawable object in your Activity, that Drawable instance will be bound (via some callbacks) to your … Continue reading Android Unbind Drawables
Just watched this video and I think it perfectly summarizes my view about Micro-services vs Monolith debate: https://www.youtube.com/watch?v=Jcy37C5SN0M&feature=youtu.be&t=52
No seriously, I work a lot with Angular (right now with Ionic) but I also maintain some server side rendered projects where I use jQuery... and after all this time I still love it. Everybody say that jQuery is that dark library from the middle ages of WEB development, that inevitably leads the callback hell … Continue reading I still like jQuery, Is that a sin?
I just remembered that in one of my SpringBoot projects I forgot to enable gzip compression. Don't be me, always use compression, even if it's not enabled by default, it's really useful to reduce bandwidth and to speed up page loads. Here is the configuration I use (in yml format).
Sometimes you want put some navigation code in a service. If the service is provided at root level you can't inject the NavController because you don't have any at application startup and your application will crash. The naive solution is to pass the NavController as parameter to the service method like this: This solution is … Continue reading How to use NavController from a Service in Ionic 3