dependencies { implementation("androidx.recyclerview:recyclerview:1.2.1") // For control over item selection of both touch and mouse driven selection implementation("androidx.recyclerview:recyclerview-selection:1.1.0") }