Is there any possibility to implement “swipe-to-remove” (like in Android task-screen) functionality with “ion-list”?
I have found “can-swipe” directive that allows to add some buttons which appear under partly-swiped item, but that’s not what I’m looking for. I need to fully swipe an item (both sides) and remove it when it becomes swiped to the end of the screen.
Yep, you could try an Ionic Slidebox on each .item, where the first slide is the message itself and the second slide is the “background” of the list. Fire dismiss(message.id) on-slide-change.
This would allow you to create a “Gmail inbox” style list as below:
Hi @erictj,
Was trying this out and got it working.
Seems good enough but adding collection-repeat on this is giving strange results
Better to also use infinite scroll since having > 50 items is resulting in a bad performance.
Might be because I am using it together with ionic-material.