Created
April 23, 2020 04:20
-
-
Save wiryadev/94cf9579bb07f3eb5ab434fed8a6944f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.wiryatech.gitdroid | |
import androidx.appcompat.app.AppCompatActivity | |
import android.os.Bundle | |
import kotlinx.android.synthetic.main.activity_detail.* | |
class DetailActivity : AppCompatActivity() { | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
setContentView(R.layout.activity_detail) | |
val sectionsPagerAdapter = SectionsPagerAdapter(this, supportFragmentManager) | |
vp_detail.adapter = sectionsPagerAdapter | |
tab_detail.setupWithViewPager(vp_detail) | |
supportActionBar?.elevation = 0f | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment