From d066b926782e0d3a765a45dd21d43fc8c38f2eb0 Mon Sep 17 00:00:00 2001 From: the-dagger Date: Thu, 2 Feb 2017 10:31:58 +0530 Subject: [PATCH] fix : close AppIntroActivity when DONE pressed --- .../main/java/com/airbnb/lottie/samples/AppIntroActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LottieSample/src/main/java/com/airbnb/lottie/samples/AppIntroActivity.java b/LottieSample/src/main/java/com/airbnb/lottie/samples/AppIntroActivity.java index 9507cf68d1..ec1c56361b 100644 --- a/LottieSample/src/main/java/com/airbnb/lottie/samples/AppIntroActivity.java +++ b/LottieSample/src/main/java/com/airbnb/lottie/samples/AppIntroActivity.java @@ -68,7 +68,7 @@ public void onPageScrollStateChanged(int state) { } protected IntroButton.Behaviour generateFinalButtonBehaviour() { return new IntroButton.Behaviour() { @Override - public void setActivity(IntroActivity activity) { } + public void setActivity(IntroActivity activity) { finish();} @Override public IntroActivity getActivity() {