Skip to content

Commit

Permalink
#16 Finish SwipeRightLeftActivity before opening FinalActivity
Browse files Browse the repository at this point in the history
  • Loading branch information
Jo Grimstad committed Apr 27, 2017
1 parent 45e2895 commit 6c9fddc
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ public void onPageSelected(int page) {
playMoveRight();
} else if ((page == 0) && !isDetectLeftActive()) {
setDetectRight(false);

finish();

Intent intent = new Intent(this, FinalActivity.class);
startActivity(intent);
}
Expand Down

0 comments on commit 6c9fddc

Please sign in to comment.