Skip to content

Instantly share code, notes, and snippets.

Created Nov 1, 2020
What would you like to do?
public void showIntroPaypal(){
if(!help.getIntroPaypal()) {
MaterialTapTargetPrompt.Builder mttp = Help.showPrompt(PaymentActivity.this,, "Payment", "Tap here to open payment Activity");
mttp.setPromptStateChangeListener((prompt, state) -> {
if (state == MaterialTapTargetPrompt.STATE_DISMISSED
|| state == MaterialTapTargetPrompt.STATE_FOCAL_PRESSED) {
startActivity(new Intent(PaymentActivity.this, HomeActivity.class));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment