Saturday, February 1, 2020

Aleksandr Koscheev


Right now I am in Cancún, Mexico.


 (+521) 998 424 8890

Skype: ru.alxr


Telegram @mx_alxr

LinkedIn profile:

I am looking for job in Android development industry

Friday, November 16, 2018

RxJava and UndeliverableException

You think you wrote onError and you're safe? Hehehe... Bad news: you can crash with UndeliverableException.
To fix set callback

Sunday, August 26, 2018

Key hash for Android-Facebook app

Trick from stackoverflow
The instructions currently in Facebook's Android Tutorial do not work well under Windows. Their example shows how to pipe the keytool output to openssl but if you try this under Windows the output is not valid for some reason.
Start by downloading openssl for Windows from Google.
C:\Users\Me>keytool -exportcert -alias my_key -keystore my.keystore -storepass PASSWORD > mycert.bin

C:\Users\Me>openssl sha1 -binary mycert.bin > sha1.bin

C:\Users\Me>openssl base64 -in sha1.bin -out base64.txt
After running these commands the valid hash is stored in the file base64.txt. Copy and paste this to your app settings on Facebook.

Tuesday, August 21, 2018

RecyclerView inside LinearLayout with weightSum

If you use following layout (simplified):

then you can face with strange bug:
adapter of the second RecyclerView binds all items at the same time!
It causes unpredictable slowing of UI and frustration of developer.
The only solution is to avoid this layout, for example - use RelativeLayout and set RV's
width programmatically.