Giter Club home page Giter Club logo

Comments (5)

heinrichreimer avatar heinrichreimer commented on July 16, 2024

Which library version are you using?
I can't reproduce the issue on Nexus 5X (@ Android N, material-intro 1.5)

from material-intro.

Sleeper9 avatar Sleeper9 commented on July 16, 2024

Currently, I'm on 1.2.1. I see you updated to 1.5, I'll update to it and report back about this!

from material-intro.

Sleeper9 avatar Sleeper9 commented on July 16, 2024

Well, I can confirm that the bug does not exist in the form I describe above, but there are another problems in the 1.5.1 release:

  1. after I rotate the screen, the Intro starts back at the first slide again (I expect it to continue at the slide the rotation happened -- maybe this should be an enchancement rather than a bug)
  2. when I click/slide through the slides, in the end, the Finish button does not work. I can slide to the left thought, but then my app crashes, and I get this stacktrace:
java.lang.IndexOutOfBoundsException: Invalid index 6, size is 6   

at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
at java.util.ArrayList.get(ArrayList.java:308)
at com.heinrichreimersoftware.materialintro.slide.SlideAdapter.getSlide(SlideAdapter.java:69)
at com.heinrichreimersoftware.materialintro.app.IntroActivity.getSlide(IntroActivity.java:756)   
at com.heinrichreimersoftware.materialintro.app.IntroActivity.updateParallax(IntroActivity.java:568)
at com.heinrichreimersoftware.materialintro.app.IntroActivity.access$700(IntroActivity.java:52)      
at com.heinrichreimersoftware.materialintro.app.IntroActivity$IntroPageChangeListener.onPageScrolld(IntroActivity.java:854)
at com.heinrichreimersoftware.materialintro.view.FadeableViewPager$OnPageChangeListenerWrapper.onPageScrolled(FadeableViewPager.java:66)

The latter did not appear in v1.4

EDIT
This bug also happens in the example "Start fake splash activity", even by pressing the GET STARTED button

from material-intro.

Sleeper9 avatar Sleeper9 commented on July 16, 2024

Maybe we can close this issue and track those other bugs in #58 and #59 ?

from material-intro.

heinrichreimer avatar heinrichreimer commented on July 16, 2024

Yep, we should do that.

from material-intro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.