ing. Andrea Maglie

Creiamo un nuovo Google Developer Group!

E’ da tempo che mi chiedo come mai non esista un Google Developer Group nel Veneto. Basta dare un’occhiata alla directory dei GDG a questo link per vedere che, in Italia, il Nord-Est è abbastanza scoperto. Così, invece di attendere che su quella mappa compaia un nuovo marker più vicino alle mie zone, ho deciso di prendere contatti con Google e a... Read more

A simple splash screen in Android

Splash screens are not so popular in Android development. But wait: now Google started to put splash screens in its apps??? Take a look at Google Drive app for example. Does it mean that now we have a new standard? This is not the right post to talk about if splash screen in Android is good or bad. Let’s think only about code: implementing a sp... Read more

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? There’s a simple way to create an Observable around a listener. Suppose we have an interface ValueUpdateListener and an object Val... Read more

ReactiveX, RxJava and RxAndroid - where to start

The next library you will learn should definetly be ReactiveX. What is ReactiveX? From the website: ReactiveX is a combination of the best ideas from the Observer pattern, the Iterator pattern, and functional programming. (But it’s a lot more.) The key concept to start with ReactiveX is: think reactive programming as operating on a stream of ... Read more

Don't waste your time coding - part 2

You can find the first part of this article here Automatic code formatting and import organizing Code styling is important. A well formatted piece of code becomes more readable and more comprehensible. But sometimes trying to keep the code formatted can be negative: you lose your time and your focus. You will soon start to count the number of ... Read more