Put the lines of code in the correct order.
ViewPager2
onCreateViewHolder method
Report a typo
Reorder lines using drag or arrows. Adjust indentation with left buttons
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ViewHolderPager =
ViewHolderPager(
)
LayoutInflater.from(parent.context).inflate(R.layout.item_page, parent, false)
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.