Android Question Questions about AS Onboarding

asales

Expert
Licensed User
Longtime User
I started to use this (another) great lib - AS Onboarding - from @Alexander Stolte.
It has some methods, like disable the swipe that the AS Sliding Onboarding don't have.

To the needs of my app (that enable or disable some pages to free and premium users), I have some questions:

1 - Can I clear the pages and add new pages when I show the b4xpage with the onboarding?

2 - Can I verify the click in the Next Button click and load the next page only if the user has permission? Some code like this:
B4X:
Sub ASOnboarding1_NextButtonClick
    If mycontrol.user.has_permission = false then
        Return ' don't show the next page
    End If
End Sub

3 - Can I increase the size of the description label, when I reduce the header size, to avoid this behavior:


Thanks in advance.
 

Alexander Stolte

Expert
Licensed User
Longtime User
I think it's time for a complete rework of these libraries. So that you have more flexibility. The AS_ViewPager has long supported disabling and enabling the swipe. I think I will stop supporting these two libraries and create a new one which is better.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…