My Profile Photo

Andrea Maglie


Software Engineer, guitar player. Founder of GDG (Google Developer Group) Venice.


  1. RxJava: convert a listener into an Observable

    In Java it’s common to work with listeners. And if you work with RxJava, you will prefer to use an Observable instead of listeners. But what if you have to deal with a library and you cannot change the source code? …


  2. ReactiveX, RxJava and RxAndroid - where to start

    The next library you will learn should definetly be ReactiveX. …


  3. Don't waste your time coding - part 2

    You can find the first part of this article here …


  4. Access Storage Framework and the URI permissions nightmare

    I’ve been working with the Access Storage Framework introduced with Android KitKat, a feature that I’ve been waiting for a long time. …


  5. Don't waste your time coding - part 1

    Life is too short: please, don’t waste your time writing code! I’m not saying that you don’t have to code, but many people tend to waste too much time typing on the keyboard instead of producing code. Mee too. …


  6. Auto-increment versionCode in build.gradle file

    Starting from this blog post by Bryan Rosenbaum, here is a gradle task to auto increment versionCode inside your build.gradle file. …


  7. Android Fragment Code Generator

    There are many ways to create a fragment in Android, but to create a fragment properly you need to follow specific guidelines. …


  8. Working with boolean and Parcelables

    Here are two simple methods to write a boolean value into a Parcelable object and read a boolean from a Parcelabe. …