title: 'ViewModelProviders' is deprecated. After upgrading lifecycle-extensions:2.1.0 to 2.2.0-alpha05
body: <p>Android Studio -> New Project -> Choice "Tabbed Activity".</p>
  
  <p>After upgrading lifecycle-extensions from 2.1.0 to 2.2.0-alpha05 ViewModelProviders is deprecated. 
  In simple cases it replaceable by "by viewModels()"
  for example:</p>
  
  <pre><code>plHlFrModel = ViewModelProviders.of(this).get(PlHlFrModel::class.java)
  </code></pre>
  
  <p>replaced by:</p>
  
  <pre><code>private val plHlFrModel by viewModels&lt;PlHlFrModel&gt;()
  </code></pre>
  
  <p>But I can't figure out how to replace this one:</p>
  
  <pre><code>pageViewModel =  ViewModelProviders.of(this)
       .get(PageViewModel::class.java).apply {
           setIndex(arguments?.getInt(ARG_SECTION_NUMBER) ?: 1)
        }
  </code></pre>
  
  <p>where and how to place apply{} block in a "by viewModel" form?
  Maybe there is another way?</p>