@Override
  public void onClick(View view) {
    switch (counter) {
      case 0:
        showcaseView.setShowcase(new ViewTarget(findViewById(R.id.bNewSession)), false);
        showcaseView.setContentTitle("Create Sessions");
        showcaseView.setContentText("Click here to Create new Session.");
        showcaseView.setButtonText("GOT IT");
        break;

      case 1:
        showcaseView.hide();
        break;
    }
    counter++;
  }
示例#2
0
 public void setTarget(final Target target) {
   setShowcase(target, false);
 }