Thursday, February 6, 2014

How to achieve android listview sliding to the left with the micro-channel delete friends the same effect?


            
Today, the development time required to implement liview android in each sub-item to the left half of the slide, exposing the Delete button to delete a friend with the same micro-channel now. How to achieve ah. . . . Find great God. .
Reply:
The layout of each item is included in the layout of the delete button, and the delete button is hidden by default, after sliding to the left of the button is displayed.
If you want sliding effect, you can also add animations, using ObjectAnimator can be achieved.
Reply:
listview are custom adapter, and also hides an item on the right item, set item slip event, x-y <-20 sliding said left hand, the right of the item then appears, and in response to that adapter
Reply:
swipeListView, open source library
Reply:
cited a floor ncepu307 reply:
layout of each item in the layout that contains the delete button, and the delete button is hidden by default, when the left slide After the button is displayed.
If you want sliding effect, you can also add animations, using ObjectAnimator can be achieved.

The Delete button hidden behind. I now want is a hidden slide out from the right
Reply:
reference to the second floor heaimnmn reply:
listview is a custom adapter, and also hides an item on the right item, set the item sliding events, x-y < ; -20 indicates a sliding hand to the left, then the right of the item appears, is in response adapter

I am now wondering how to associate a specific two listView.
Reply:
reference to the third floor imesong reply:
swipeListView, open source library

This seems to be how I used to hide or to display.
Reply:
http://www.apkbus.com/android-143803-1-1.html
Reply:
Upstairs you great God has finished. . .
Reply:
I finally realized the function, have questions you can contact me directly http://blog.csdn.net/jspamd/article/details/17149349

No comments:

Post a Comment