I have made slides using this library and its all working fine . I am calling my introduction slides right after Splash Activity.
And the Intro of my app starts easily using this awesome library. but then I got the problem
what I am doing
public void displayIntro() {
List<Slide> slides = new ArrayList<>();
for (int i = 0; i < 2; i++) {
slides.addAll(generateSlides());
}
IntroductionBuilder introductionBuilder = new IntroductionBuilder(this);
new IntroductionBuilder(this).withSlides(slides)
.withOnSlideListener(defaultOnSlideListener).withSkipEnabled("Skip")
.withPageTransformer(new ZoomOutPageTransformer()).introduceMyself();
}
this is how I am displaying slides after my splash screen time ends
My Problem:
If user click on any slide it goes back to my splash screen which is very bad, I want to disable the back button of the slides but do not know How to do this.
So My Real Question is
How Can I disable the back button(of Device not the one given on each slide), so that It can prevent going to splash screen. If I kill the splash screen , this will probably go to home screen of device .
Any possible solution ??