@Override public void onClick(View v) { if (v.getId() == R.id.btn_one || v.getId() == R.id.btn_two || v.getId() == R.id.btn_three) { presentShowcaseSequence(); } else if (v.getId() == R.id.btn_reset) { MaterialShowcaseView.resetSingleUse(this, SHOWCASE_ID); Toast.makeText(this, "Showcase reset", Toast.LENGTH_SHORT).show(); } }
@Override protected void onStop() { super.onStop(); MaterialShowcaseView.resetSingleUse(this, SHOWCASE_ID); }