Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Highlight, Move, and Swipe RecyclerView with ItemTouchHelper - Android Tutorial

CodingWithMitch via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to implement advanced RecyclerView functionality using ItemTouchHelper in this 21-minute tutorial. Discover techniques for adding swipe-to-delete, long-press highlighting, and drag-and-rearrange features to your Android app's RecyclerView. Explore the implementation of a custom ItemTouchHelper callback, covering topics such as movement flags, onMove and onSwipe methods, gesture detection, and drag event handling. Follow along with provided code examples and gain practical insights into enhancing user interaction with RecyclerView items. Perfect for Android developers looking to improve their skills in list manipulation and touch gestures.

Syllabus

Introduction
Swipe RecyclerView
Overview
ItemTouchHelper Adapter
ItemTouchHelper Class
Implement Override Methods
Movement Flags
OnMove
OnSwipe
View Holder
Gesture Detector
Setup of Gesture Detector
Setup of OnTouchListener
Start Drag Event
ItemTouchHelper
Testing
Troubleshooting

Taught by

CodingWithMitch

Reviews

Start your review of Highlight, Move, and Swipe RecyclerView with ItemTouchHelper - Android Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.