applied to given types;
mostCurrent._pager.Initialize(mostCurrent.activityBA,mostCurrent._container,"Pager");
^
required: BA,String
found: BA,AHPageContainer,String
reason: actual and formal argument lists differ in length
Finaly I managed to get "android-30" installed. THX
However it still wil not compile.
So I tried to compile the attached example
And that gives me the saem error
B4A line: 45
Container.Initialize
src\com\viewpager\com\main.java:409: error: cannot access PagerAdapter
mostCurrent._container.Initialize(mostCurrent.activityBA);
^
class file for androidx.viewpager.widget.PagerAdapter not found
Attention: V2.20 has an API change which makes the ViewPager incompatible with older versions. The AHPageContainer parameter is removed from the Initialize() method. Initialize2() has the old signature. If you use Initialize() (or add the View to the Designer as a custom view) then you have to set the container object with ViewPager.PageContainer = <YourContainer>