Skip to content

Conversation

ronw98
Copy link

@ronw98 ronw98 commented Mar 26, 2021

I added 3 buttons (that can be shown or not):

  • A skip button that automatically calls the onRightOut listener
  • A previous button that goes back one page
  • A next button that goes forward one page

The text of the skip button is customizable
The next and previous buttons are ImageButtons with an arrow drawable. Its color can be changed in API 21+

I also added a builder for readability purposes.

These changes are compatible with the previous version of the library.

add PaperOnboardingPage.Builder for readability
Copy link

@akardas16 akardas16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for adding buttons

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants