Insert the missing line

Report a typo

Write a line of code that will enable the Adapter for ViewPager2 to work.

val viewPager2 = findViewById<ViewPager2>(R.id.viewPagerContainer)
val pagerAdapter = ViewPager2Adapter(this)
Enter a short text
___

Create a free account to access the full topic