RecyclerView Swipe to Delete and Undo in Android & Kotlin

preview_player
Показать описание

Thanks for watching, leave a like, leave a comment...
Don't forget to subscribe to the channels and click on the bell to activate notifications!

#Bersyte #AndroidDev #Kotlin
Рекомендации по теме
Комментарии
Автор

Hi, I'm learning a lot from your videos! Thank you so much!
In this video, I believe there's some bug fixes to do. The "undo" action only adds another item after you swipe to delete again. It doesn't work if you just press it. Also, it creates duplicated versions of positions that already exists. I believe you need to update all the remaining positions after you delete one item, and also identify the deleted item, in order to add it in the same position it was before, when you press the "undo" action. Thanks again for your work!

Auggie_C
Автор

i have some error sir,
Invalid index 0, size is 0

reyzer