Giuseppe Villani·May 21, 2020Kotlin nullability: Four easy piecesOne of the most useful Kotlin features is nullability. Basically Kotlin type system allows you to define a type as nullable or…A response icon2A response icon2
Giuseppe Villani·Mar 7, 2020MediatorLiveData: a simple use caseIn Android, LiveData is often used in combination with ViewModel for supporting a MVVM architectural pattern. The basic idea is to expose…A response icon2A response icon2
Giuseppe Villani·Aug 10, 2019Interface delegation in KotlinInterface delegation is an interesting Kotlin technique that allows a class to delegate the actual implementation of the interfaces, to…A response icon3A response icon3
Giuseppe Villani·Nov 6, 2017RxJava: Let it flowRxJava has been proven to be a great tool for Android applications. Unfortunately, especially for those who are not familiar with reactive…
Giuseppe Villani·Jul 12, 2017Upload images effectively in Android, knowing your target devicesIt is not uncommon to have the need of uploading to your server, a picture, taken from your local storage or your camera, with the purpose…
Giuseppe Villani·Jul 3, 2017Concurrent tasks with zip operatorOne of the most compelling reason for using RxJava is the possibility to easily combine asynchronous sequences of Observable. This also…A response icon1A response icon1