KotlinNullPointerException happens in fun onDraw while fragment predraw views (mBitmap = null). <img width="642" alt="Снимок экрана 2020-11-07 в 14 00 08" src="https://user-images.githubusercontent.com/6260846/98440469-94cbcc00-2101-11eb-8b53-9138ecaa2895.png"> The problem goes away if I remove android:transitionName="" from xml. Please check this case.
KotlinNullPointerException happens in fun onDraw while fragment predraw views (mBitmap = null).
The problem goes away if I remove android:transitionName="" from xml.
Please check this case.