title: Viewpager2 onPageSelected is called when keyboard opens
body: <p>I have implemented <code>Viewpager2</code> and have 2 fragments in it, whenever i open the keyboard the <code>onPageSelected</code> of <code>ViewPager2.OnPageChangeCallback()</code> is called and the selected page is first shown to the first one and then shifts to the second one</p>
  
  <pre><code>viewPager.registerOnPageChangeCallback(object : ViewPager2.OnPageChangeCallback() {
          override fun onPageSelected(position: Int) {
              super.onPageSelected(position)
              selectedPos = position
              if (position == 1) {
                  ivBackVp.visibility = View.VISIBLE
                  progress.progress = 100
                  if (userType == Const.TYPE_PARENT) {
                      tvStepDescription.text = getString(R.string.create_profile_step_two)
                  } else {
                      tvStepDescription.text = getString(R.string.create_profile_step_two_child)
                  }
                  tvNext.text = getString(R.string.done)
              } else {
                  ivBackVp.visibility = View.GONE
                  progress.progress = 50
                  if (userType == Const.TYPE_PARENT) {
                      tvStepDescription.text = getString(R.string.create_profile_step_one)
                  } else {
                      tvStepDescription.text = getString(R.string.create_profile_step_one_child)
                  }
                  tvNext.text = getString(R.string.next)
              }
          }
      })
  </code></pre>
  
  <p>i have tried setting <code>configChanges to keyboard in the manifest</code> but it also failed. Please do help me with a logical reason of why it must be calling and what should i do to solve this one.</p>