xenione / swipe-maker Goto Github PK
View Code? Open in Web Editor NEWEasy Swipe Maker
License: Apache License 2.0
Easy Swipe Maker
License: Apache License 2.0
Hi!
I used SwipeLayout to make swipe panel and I wanted to animate translateTo() method, but there is no good way to do it. I'm missing point of extension in SwipeLayout so I can access orientationStrategy field.
java.lang.IndexOutOfBoundsException: Invalid index 6, size is 6 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255) at java.util.ArrayList.remove(ArrayList.java:403) at apps.xenione.com.swipelayout.example.adapter.RightSwipeAdapter.deleteItem(RightSwipeAdapter.java:70) ……
This bug is reproduceable,if you follow two steps.
1.Swip delete the item 5.
2.Before the item 5 dismiss,Quick swip dismiss item 6.
Hi Xenione,
I'm getting this error when try to show more items than 4 in a list with Both buttons (Right and Left)
The app crash when scroll down: 'int com.xenione.libs.swipemaker.Anchors.cropInLimits(int)' on a null object reference
FATAL EXCEPTION: main Process: com.test, PID: 24047 java.lang.NullPointerException: Attempt to invoke virtual method 'int com.xenione.libs.swipemaker.Anchors.cropInLimits(int)' on a null object reference at com.xenione.libs.swipemaker.Position.cropInLimits(Position.java:63) at com.xenione.libs.swipemaker.orientation.OrientationStrategy.ensureInsideBounds(OrientationStrategy.java:78) at com.xenione.libs.swipemaker.orientation.OrientationStrategy.translateTo(OrientationStrategy.java:57) at com.xenione.libs.swipemaker.SwipeLayout.translateTo(SwipeLayout.java:103) at com.xenione.libs.swipemaker.AbsCoordinatorLayout$1.run(AbsCoordinatorLayout.java:20) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5417) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
I think don't use Picasso library in demo, use layout, it is better. Without Picasso, difficult to show real design when moving.
Hi
This is not a bug kind of feature i need .
I want to swing views on top of other views. Right now it is going under the other views.
Please do let me know how can we achieve this.
Found a typo in amount of arguments ScrollerHelper line 24. Method with signature OverScroller::startScroll(int startX, int startY, int dx, int dy)
is called and SCROLL_ANIMATION_DURATION
is passed as last argument dy
.
Don't have any information to get index of row in section.
When I create a list of "left swipe item" and I begin to scroll up or down in the list, each time I touch an item (I touch it just to do the scrolling action), it opened.
And it opened only one time. Once we close it t he bug disappears.
The code I use is :
mForegroundView.anchor(0, -width_first_item, -(width_first_item + width_second_item) );
And because my English is pretty bad, here is a video of the problem : https://youtu.be/MAfllLtiGhk
It seems that swipe-maker is currently hosted on bintray. However, this will be shut down from 1st of May: https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/
Are there any plans to migrate to another repository?
Is there any way to close previous opened items?
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.