title: After migration to Android X app crashes android.view.InflateException
body: <p>After migration app to Android X app crashed in runtime. It happens when Activity of Fragment inflates layout. My StackTrace is:</p>
  
  <blockquote>
    <p>Process: com.sizestream.android, PID: 17380
        java.lang.RuntimeException: Unable to resume activity {package/...Activity}: android.view.InflateException: Binary XML file line #50: Binary XML file line #50: Error inflating class 
            at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3581)
            at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3621)
            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2862)
            at android.app.ActivityThread.-wrap11(Unknown Source:0)
            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
            at android.os.Handler.dispatchMessage(Handler.java:106)
            at android.os.Looper.loop(Looper.java:164)
            at android.app.ActivityThread.main(ActivityThread.java:6494)
            at java.lang.reflect.Method.invoke(Native Method)
            at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
         Caused by: android.view.InflateException: Binary XML file line #50: Binary XML file line #50: Error inflating class 
         Caused by: android.view.InflateException: Binary XML file line #50: Error inflating class 
         Caused by: java.lang.reflect.InvocationTargetException
            at java.lang.reflect.Constructor.newInstance0(Native Method)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:334)
            at android.view.LayoutInflater.createView(LayoutInflater.java:647)
            at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:790)
            at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:730)
            at android.view.LayoutInflater.rInflate(LayoutInflater.java:863)
            at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
            at android.view.LayoutInflater.rInflate(LayoutInflater.java:866)
            at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
            at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
            at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
            at androidx.databinding.DataBindingUtil.inflate(DataBindingUtil.java:126)
            at androidx.databinding.DataBindingUtil.inflate(DataBindingUtil.java:95)
            at com.common.mvvm.BaseFragment.onCreateView(BaseFragment.kt:43)
            at androidx.fragment.app.Fragment.performCreateView(Fragment.java:2530)
            at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:887)
            at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1233)
            at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:1299)
            at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:688)
            at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManagerImpl.java:2069)
            at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManagerImpl.java:1859)
            at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManagerImpl.java:1814)
            at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManagerImpl.java:1721)
            at androidx.fragment.app.FragmentController.execPendingActions(FragmentController.java:447)
            at androidx.fragment.app.FragmentActivity.onResume(FragmentActivity.java:444)
            at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1355)
            at android.app.Activity.performResume(Activity.java:7117)
            at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3556)
            at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3621)
            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2862)
            at android.app.ActivityThread.-wrap11(Unknown Source:0)
            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
            at android.os.Handler.dispatchMessage(Handler.java:106)
            at android.os.Looper.loop(Looper.java:164)
            at android.app.ActivityThread.main(ActivityThread.java:6494)
    2019-03-18 13:05:21.536 17380-17380/com.sizestream.android E/AndroidRuntime:     at java.lang.reflect.Method.invoke(Native Method)
            at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)</p>
  </blockquote>