trademe / covert Goto Github PK
View Code? Open in Web Editor NEWCovert is an Android library for Material Swipe Actions within a RecyclerView
License: MIT License
Covert is an Android library for Material Swipe Actions within a RecyclerView
License: MIT License
Hi there! Thank you for that beautiful lib.
I have a small question. Was it a special reason to set the color of the background layer as white by default? We can provide a custom color for inactive background and for active. But inactive color is used only for the reveal animation not for the initial background color.
Hi and thanks for the great library!
I have an issue when using it along with ListAdapter
.
I have a DiffUtil.ItemCallback
set up so that whenever I submit a new list, it handles all the item inserted/moved/removed with all the fancy animations.
When I set up Covert, it still works, but animations are no more. Am I missing something? Thanks.
Hello!
How can I configure a RecyclerView
item to have two different icons and colors each for left and right swipes?
I wanna disable swipable at some position/viewType, how i can do that?? Thank u
is there any possibility to override SWIPE_THRESHOLD_PROPORTION?
Hi,
I cannot manage to integrate Covert to my RecyclerView. When it tries to show it, I get the following error:
java.lang.IllegalStateException: Cannot add item decoration during a scroll or layout
at android.support.v7.widget.RecyclerView.assertNotInLayoutOrScroll(RecyclerView.java:2771)
at android.support.v7.widget.RecyclerView$LayoutManager.assertNotInLayoutOrScroll(RecyclerView.java:7523)
at android.support.v7.widget.LinearLayoutManager.assertNotInLayoutOrScroll(LinearLayoutManager.java:1352)
at android.support.v7.widget.RecyclerView.addItemDecoration(RecyclerView.java:1486)
at android.support.v7.widget.RecyclerView.addItemDecoration(RecyclerView.java:1514)
at android.support.v7.widget.helper.ItemTouchHelper.setupCallbacks(ItemTouchHelper.java:473)
at android.support.v7.widget.helper.ItemTouchHelper.attachToRecyclerView(ItemTouchHelper.java:466)
at nz.co.trademe.covert.Covert.(Covert.kt:122)
at nz.co.trademe.covert.Covert.(Covert.kt:88)
at nz.co.trademe.covert.Covert$Builder.attachTo(Covert.kt:581)
I tried to remove the ItemDecoration I add myself to the RecyclerView, but with no luck. Do you have an idea how I could circumvent this?
Thanks
Hey, Does this work with full page recyclerview items with snaphelper?
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.