Saturday, February 1, 2020

Aleksandr Koscheev


LOOKING FOR A JOB


Right now I am in Cancún, Mexico.

Phones:

 (+521) 998 424 8890

Skype: ru.alxr

Email aleksandr.koscheev@gmail.com

LinkedIn profile: https://www.linkedin.com/in/aleksandr-alex-koscheev-b7260062/

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.

Friday, August 3, 2018

Final solution for leaking context with InputMethodManager



Pretty annoying, right?
I've tried already solution with transparent DummyActivity but it has some negative effects.
Here is solution provided via leakcanary and code with minor modifications:


and helper class 

And then add line into onCreate method of your application: