title: Kotlin switch-statement with more than two variables?
body: <p>Say I set getCount() = 3, how can I specify which fragment and page title to retrieve for the third item?</p>
  
  <pre><code>class ViewPagerAdapter(fm: FragmentManager) : FragmentPagerAdapter(fm) {
          override fun getCount() = 3
          override fun getItem(i: Int) = if (i == 0) KotlinListFragment() else if (i == 1) JavaListFragment() else (i == 2) AndroidFragment()
          override fun getPageTitle(i: Int) = if (i == 0) "Kotlin" else (i == 1) "Java" else (i == 2) "Android"
  </code></pre>