title: Fragment Open with Keyboard
body: <p>Have one fragment with edittext at the top</p>
  
  <p>When I open that fragment <strong>KeyBoard should automatically open</strong></p>
  
  <p>To achieve this I am showing the KeyBoard on onStart() method of the fragment and hiding it on onStop() method.</p>
  
  <p>Problem is KeyBoard is showing when I open fragment for the first time, if I am going back and open that fragment again it is not showing the KeyBoard</p>
  
  <pre><code>fun hideKeyboard() {
          val view = this.currentFocus
          if (view != null) {
              val imm = getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager
              imm.hideSoftInputFromWindow(view.windowToken, 0)
          }
      }
  
  fun showKeyBoard() {
          val view = this.currentFocus
          if (view != null) {
              val imm = getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager
              imm.toggleSoftInputFromWindow(view.windowToken, InputMethodManager.SHOW_FORCED, 0)
          }
  }
  </code></pre>