NMP's blog :) Blog


textAppearance does not work on custom TextView

Having a custom TextView is a totally normal thing these days. The problem comes when you try the following: <com.test.view.MyCustomTextView android:layout_width="wrap_content" android:layout_height="match_parent" android:textAppearance="@style/MyCustomTextAppearance" /> If your custom TextView extends from the TextView class then...


RxJava & LiveData combined error handling

Using RxJava with the architecture components from Google in the latest project that I was working on, it made me think how does error handling fit with the LiveData and can you keep the RxJava error...


Installing Grub fails on Ubuntu 16.04

I got this nasty error when it came to having a fresh install of Ubuntu 16.04. It says that GRUB cannot be installed on /target device. In order to fix this you need to:...