I would like to create my own version of custom ViewPager2 view from extending from the original Viewpager2, but just had a hard time doing it. I get errors such as
It's clear from the message that it's a final call so you can't inherit from it. However if you care using Kotlin you can use extensions to get some composition going but I am not sure what you want to do here.