OnboardActivity

public class OnboardActivity extends AhoyOnboarderActivity

Introduce user to the app through a series of informational screens that end with a button that redirects the user to a login page

Methods

getFinishButtonTitle

public String getFinishButtonTitle()

onActivityResult

protected void onActivityResult(int requestCode, int response, Intent data)

After the user has logged in, this function is called to redirect user to new activity

Parameters:
  • requestCode – Code that indicates what startActivityForResult call has finished
  • response – Response from the completed call
  • data – Data returned from the call

onCreate

protected void onCreate(Bundle savedInstanceState)

Generate onboarding pages and display them

Parameters:
  • savedInstanceState – Previous state to restore from

onFinishButtonPressed

public void onFinishButtonPressed()

When finish button pressed at end of onboarding, send user to login page