material-intro icon indicating copy to clipboard operation
material-intro copied to clipboard

canGoForward(false) & canGoBackward(false) not working for 1st slide

Open adnbal89 opened this issue 8 years ago • 4 comments

Hello, I noticed that

addSlide( new SimpleSlide.Builder()
        .title(R.string.terms_and_conditions)
        .description(R.string.terms_and_conditions)
        .background(R.color.color_canteen)
        .backgroundDark(R.color.color_dark_canteen)
        .canGoBackward(false)
        .canGoForward(false)
        .build();
    termsSlide) );

.canGoBackward(false) .canGoForward(false) is not working if added slide is the 1st one. I mean I can step to the next slide.. On the other hand, when I add this terms&conditions slide for the 2nd, it works and no problem. Thank you.

adnbal89 avatar Oct 24 '17 09:10 adnbal89

I'm also seeing this. I do notice that the function isn't even called.

justinmwarner avatar Nov 05 '17 20:11 justinmwarner

Same here

ijens1 avatar Feb 12 '18 00:02 ijens1

@adnbal89 @justinmwarner @ijens1 Could you submit a pull request with a fix?

janheinrichmerker avatar Apr 05 '18 19:04 janheinrichmerker

@heinrichreimer submitted PR.

ijens1 avatar Apr 06 '18 02:04 ijens1

See #245

janheinrichmerker avatar Oct 11 '22 15:10 janheinrichmerker