Giter VIP home page Giter VIP logo

Comments (8)

saeedsh92 avatar saeedsh92 commented on June 11, 2024

i don't have any cast to ViewGroup in CustomViewPager class, are you change anything there?

from banner-slider.

Morteza-Rastgoo avatar Morteza-Rastgoo commented on June 11, 2024

can you add the code you implemented?

from banner-slider.

TacB0sS avatar TacB0sS commented on June 11, 2024

any known reason for this guys?

from banner-slider.

azizainunnajib avatar azizainunnajib commented on June 11, 2024

is this happen in kotlin? i change my code to kotlin and this happen. but before i change my code, as i remember everything is fine.

from banner-slider.

azizainunnajib avatar azizainunnajib commented on June 11, 2024

do you find the problem? i change my BannerSlider to activity. and everything work correctly. i used fragment and here the problem was coming.

from banner-slider.

matthiasdittmer avatar matthiasdittmer commented on June 11, 2024

We had the same problem with FragmentStatePagerAdapter inside Fragments.

If you use Fragments of any kind in Fragments you have to use getChildFragmentManager() instead of getFragmentManager() from Fragment class to setup your views.

That solved the issuse for us.

from banner-slider.

jmadaminov avatar jmadaminov commented on June 11, 2024

any solutions for this? The same bug, also in kotlin didn't try in java
image

from banner-slider.

jmadaminov avatar jmadaminov commented on June 11, 2024

it happens when you setLoopSlides(true) and setInterval(*) when u have banners size of 1 or zero, i solved it with

  if    (squareBanners.size > 1){
                          banner_slider.setLoopSlides(true)
                        banner_slider.setInterval(5000)
                      }

from banner-slider.

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.