Created
April 23, 2020 02:59
-
-
Save cdmunoz/acdaba7312e74bb9562731340ddb2a41 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| class OnBoardingAdapter(activity: AppCompatActivity, private val itemsCount: Int) : | |
| FragmentStateAdapter(activity) { | |
| override fun getItemCount(): Int { | |
| return itemsCount | |
| } | |
| override fun createFragment(position: Int): Fragment { | |
| return OnBoardingFragment.getInstance(position) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment