- // Get the name of each tab. Tab numbers start at 0.
- override fun getPageTitle(tab: Int): CharSequence {
- return when (tab) {
- 0 -> context.getString(R.string.version)
- 1 -> context.getString(R.string.permissions)
- 2 -> context.getString(R.string.privacy_policy)
- 3 -> context.getString(R.string.changelog)
- 4 -> context.getString(R.string.licenses)
- 5 -> context.getString(R.string.contributors)
- 6 -> context.getString(R.string.links)
- else -> ""
- }
- }
-