adgvcxz / cardlayoutmanager Goto Github PK
View Code? Open in Web Editor NEWA custom layoutManager providing a Tinder-like cards effect.
License: Apache License 2.0
A custom layoutManager providing a Tinder-like cards effect.
License: Apache License 2.0
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.
Shake issue while swipe slowly. Please check @adgvcxz @sikrinick
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.
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)
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.
I need swipe library i should be work on vertical and horizontal scroll
Are you planning to add support of elevation for other sides?
Not only bottom, but also, for top and right?
如题,需求依然要求类似的卡片层叠布局,但是要左滑进入下一张卡片,右滑回到上一张卡片。谢谢。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.