New Course: Beginning RecyclerView

Create a basic RecyclerView, then learn how to add ItemDecorations, animations, multiple view types, drag and drop, and swipe-to-delete. By Joe Howard.

Leave a rating/review
Save for later
Share
You are currently viewing page 2 of 2 of this article. Click here to view the first page.

Part 4: Section Headers and View Types

In part four, learn about the different view types in a RecyclerView .

Introduction: Learn about the objectives of this part, which are to become familiar with using different view types in a RecyclerView.

Custom Section Headers: See how to sort the items displayed in a RecyclerView into groups and then add section headers to the groups.

Multiple View Types: Use view types to customize the display of items displayed in a RecyclerView, based on the type of the item.

Challenge: View Types: Practice using view types to customize the display of certain items in a RecyclerView, then see a solution.

Conclusion: Let’s review what you learned about using view types for items displayed in a RecyclerView, and discuss what’s next.

  1. Introduction: Learn about the objectives of this part, which are to become familiar with using different view types in a RecyclerView.

  2. Custom Section Headers: See how to sort the items displayed in a RecyclerView into groups and then add section headers to the groups.

  3. Multiple View Types: Use view types to customize the display of items displayed in a RecyclerView, based on the type of the item.

  4. Challenge: View Types: Practice using view types to customize the display of certain items in a RecyclerView, then see a solution.

  5. Conclusion: Let’s review what you learned about using view types for items displayed in a RecyclerView, and discuss what’s next.

Part 5: Common Interactions

In the final part, learn how to handle different interactions with a RecyclerView.

Introduction: Learn about the objectives of this part, which are to become familiar with common interactions with a RecyclerView, such as drag and drop and swipe-to-delete.

ItemTouchHelper: Discover the capabilities and use cases for combining the ItemTouchHelper class with a RecyclerView.

Rearranging Rows: See how to use ItemTouchHelper to create a basic capability to rearrange the items in a RecyclerView.

Handles and Selection: See how to setup drag handles and item selection highlighting using ItemTouchHelper with a RecyclerView.

Challenge: ItemTouchHelper: Practice using ItemTouchHelper to allow for drag and drop rearrangement of the items displayed in a grid via a RecyclerView

Swipe to Delete: See how to use ItemTouchHelper to add a basic swipe-to-delete capability for the items in a RecyclerView.

Conclusion: In this final episode, we’ll summarize the course, and then see an overview of RecyclerView topics that were not covered.

  1. Introduction: Learn about the objectives of this part, which are to become familiar with common interactions with a RecyclerView, such as drag and drop and swipe-to-delete.

  2. ItemTouchHelper: Discover the capabilities and use cases for combining the ItemTouchHelper class with a RecyclerView.

  3. Rearranging Rows: See how to use ItemTouchHelper to create a basic capability to rearrange the items in a RecyclerView.

  4. Handles and Selection: See how to setup drag handles and item selection highlighting using ItemTouchHelper with a RecyclerView.

  5. Challenge: ItemTouchHelper: Practice using ItemTouchHelper to allow for drag and drop rearrangement of the items displayed in a grid via a RecyclerView

  6. Swipe to Delete: See how to use ItemTouchHelper to add a basic swipe-to-delete capability for the items in a RecyclerView.

  7. Conclusion: In this final episode, we’ll summarize the course, and then see an overview of RecyclerView topics that were not covered.

The Android Avalanche Bundle

If you like this course, from now until March 30th you can get it along with the rest of our new Android and Kotlin books, courses, and screencasts — at a big discount!

Our new Android Avalanche Bundle includes:

  • Android Apprentice ($54.99 value): Gives you access to our new Android Apprentice book, which teaches you how to build four complete Android apps from scratch. PDF/ePub format.
  • Kotlin Apprentice ($54.99 value): Gives you access to our new Kotlin Apprentice book, which gives you a deep dive into the Kotlin programming language itself. PDF/ePub format.
  • A raywenderlich.com subscription ($19.99 value): Gives you access to all 8 of our new Android video courses, our 2 new Android screencasts, and access to any new courses and screencasts we release in the future.

The bundle price of $99.99 includes the first month of your subscription, which will continue at $19.99/month thereafter. You can cancel at any time and keep the books. This bundle gives you more than 20% off everything in the Android Avalanche!

The Android Avalanche bundle is only available for the next two weeks, so be sure to order your copy while you can.

Already a subscriber? As a subscriber, you already have access to this new course as part of your subscription. You can also enjoy a $20 discount on the bundle that will get you both books added to your collection. It’s our way of thanking you for supporting what we do here at raywenderlich.com.

Where To Go From Here?

If you want to learn Android and Kotlin development — or level up your existing skills – there’s no better way to learn than these new books, courses, and screencasts.

And this is only the beginning! We’re committed to creating more new books, courses, and screencasts on Android development, with the goal of covering Android and Kotlin in the same way that we’ve covered iOS and Swift over the years.

We truly appreciate your support in making this possible. We’re excited about this new chapter at raywenderlich.com. So order your copy of the Android Avalanche Bundle today before the deal is over!

Contributors

Over 300 content creators. Join our team.