Git Product home page Git Product logo

cardlayoutmanager's People

Contributors

adgvcxz avatar

Stargazers

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

Watchers

 avatar  avatar

cardlayoutmanager's Issues

mBottomInterval issue (same for mXInterval and mYInterval in newer version)

What is the point of adding this interval for sides for dimensions for layoutDecoratedWithMargins? Basically, we are moving this view by interval when we calculate XTranslation or YTranslation, but adding this interval to one of dimensions leads to cropping view.
In new pull requests this issue was fixed.

Feature Request: Support notifyItemInserted, notifyItemRemoved

Adding or removing items from a list is difficult at the moment with a current version of CardLayoutManager.

It would be really great if this library supports notifyItemInserted and notifyItemRemoved with a proper animation.
For instance, if the first item of a list is removed, then a recyclerview should smoothScrollToPosition to the next position upon notifyItemRemoved.

Thank you in advance.

NullPointerException

Hi in CompileSDKVersion 26
compile 'com.android.support:appcompat-v7:26.1.0'
compile 'com.android.support:cardview-v7:26.1.0' getting nullpointer exception.

Process: com.adgvcxz.recycler, PID: 14071 java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(int)' on a null object reference at com.adgvcxz.cardlayoutmanager.CardLayoutManager.fillChild(CardLayoutManager.java:194) at com.adgvcxz.cardlayoutmanager.CardLayoutManager.fill(CardLayoutManager.java:150) at com.adgvcxz.cardlayoutmanager.CardLayoutManager.onItemsChanged(CardLayoutManager.java:488)

Disable scrolling from users?

Thank you for this awesome library.

I was wondering if there is way to disable scrolling from users so my app is the only one that can scroll to a certain position upon user's interactions.

Any advice would be much appreciated.

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.