Giter VIP home page Giter VIP logo

directionalcarousel's People

Contributors

acbelter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

directionalcarousel's Issues

Resource ID #0x0

Hallo,

Thank you for your code. i'm customing your source code. I have made list that field with image. It's work in demo, but when i used in my source code, show error android.content.res.Resources$NotFoundException: Resource ID #0x0 in class CarouselViewPager on method getPageContentWidth().

Can you help me? Trims

ClassCastException: ForegroundRelativeLayout cannot be cast to PageLayout

I brought your code into a test project but getting this error

java.lang.ClassCastException: com.example.macbookpro.test4.fglayout.ForegroundRelativeLayout cannot be cast to com.example.macbookpro.test4.page.PageLayout
            at com.example.macbookpro.test4.CarouselPagerAdapter.getPageView(CarouselPagerAdapter.java:212)
            at com.example.macbookpro.test4.CarouselPagerAdapter.onPageScrolled(CarouselPagerAdapter.java:117)

At this method :

    private PageLayout getPageView(int position) {
        String tag = mConfig.getPageFragmentTag(position);
        Fragment f = mFragmentManager.findFragmentByTag(tag);
        if (f != null && f.getView() != null) {
            return (PageLayout) ((ViewGroup) f.getView()).getChildAt(0); // <---- here!
        }
        return null;
    }

Any idea what Im doing wrong?

Weird Function on landing page

When I am importing the code from git hub its landing page behaves in weird way while apk from google plays working fine.Please update your code here

Synchronized with another viewpager control

Hi,
How can I synchronized this library with another viewpager when I scrolling/swipping on it? Example: This library will be my top menu, I will have another viewpager filled with fragments. Thanks in advance

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.