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 this textAppearance that you have set will probably not work. It works in the Preview but it is never displayed correctly on the emulator or on a real device.

May 4, 2020 · 1 min · gmirchev90

RxJava &amp; 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 handling which I find quite nice.

May 4, 2020 · 2 min · gmirchev90