android / sunflower

A gardening app illustrating Android development best practices with migrating a View-based app to Jetpack Compose.
https://d.android.com/jetpack
Apache License 2.0
17.61k stars 4.69k forks source link

RecyclerView Selection #336

Open nic0lette opened 5 years ago

nic0lette commented 5 years ago

To better support watering and removing plants from the user's garden, we should use the "recyclerview-selection" library to select plants.

The idea is that, once plants can be selected, then actions can be added to garden view.

mtotschnig commented 4 years ago

The "recyclerview-selection" library suffers from a serious problem: When action mode is active, and item clicks should select/deselect, clicks in fast succession trigger the onClick handler. This has been reported at https://issuetracker.google.com/issues/121345401 . I have attached a video there illustrating the problem with the rv-selection branch of this project.