Commit Graph

11 Commits

Author SHA1 Message Date
daimajia 564a74fcc7 update build config, fix #397 2017-03-09 11:22:01 +08:00
HarshEvilGeek ea5a0156dc fixing bug from horizontal swipe offset and adding preliminary code to restrict particular drag edges 2015-02-11 17:53:10 +05:30
daimajia 85c318fc84 v1.1.8 2015-01-31 18:53:13 +08:00
daimajia da7084cc8b merge from @jpselley, start support RecyclerView. 2015-01-31 18:31:21 +08:00
John Shelley 418898c33c Setup Clicks, Deletion, Animation
Removed 2-way-view in favor of more simplistic items. Based on research most people have used the ViewHolder for onItemClick listener support, sometimes I've seen a ViewHolder implement View.OnClickListener, however that didn't work for our example so our root view has an itemclicklistener set.

On top of that, basic animations were added via a top starred github library.

The delete is hooked up to actually remove the item from the list. However it seems glitchy in comparison.

It should be noted that it will be left up to the user to determine UI/UX aspects such as removal. The Inbox App by Google uses a swipe to remove items, where the Gmail App by Google uses a swipe to 'queue' an item for dismisal, but not dismissing it until the user makes another interaction such as scrolling or clicking another email.

A 'closeAllItems()' method was added in our Managers, as well as a minor fix that was needed by adding 'shown layouts' correctly in our SwipeListener.
2015-01-30 23:49:25 -06:00
daimajia a9cc7d28eb support compile under build:gradle:1.0.0 2015-01-24 09:09:23 +08:00
John Shelley bd4749188c (demo, recyclerview) Update demo.. see details ->
Demo now includes the most simple form or using a recycler view in the codebase currently.
Next step would be to create a more simplified approach at a RecyclerViewSwipeAdapter that a user can extend from and only implement smaller methods instead of all the implementations.
2014-12-18 14:53:53 -06:00
John Shelley 25e38f34f3 (gradle) Update gradle issues..
Updating gradle specfic issues that arrised when using Android Studio 1.0.+
2014-12-18 10:58:50 -06:00
StephaneBg e9377a4d8b Fix gradle files 2014-08-27 14:10:22 +02:00
daimajia f1f11d99d8 fix #1 2014-08-25 17:29:40 +08:00
daimajia 9a9ade7eeb Android Swipe Layout born 2014-08-25 12:08:30 +08:00