Skip to content

Commit

Permalink
readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Hashim committed Apr 27, 2018
1 parent d590e43 commit fcbefcf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ viewPager.apply {
fragmentPagerAdapter(pageCount = 3, fragmentManager = supportFragmentManager) {

pages { position ->
when (position) {
0 -> Pair(InputFragment(), "Entries")
1 -> Pair(OutputFragment(), "Result")
2 -> Pair(AboutFragment(), "About Us")
else -> throw Exception("¯\\_(ツ)_/¯")
when (position) {
0 -> Pair(InputFragment(), "Entries")
1 -> Pair(OutputFragment(), "Result")
2 -> Pair(AboutFragment(), "About Us")
else -> throw Exception("¯\\_(ツ)_/¯")
}
}

Expand Down

0 comments on commit fcbefcf

Please sign in to comment.