refactor(collection): add TODO for notifyDataSetChanged cleanup

This commit is contained in:
2026-04-18 23:35:27 +02:00
parent 5d99b2a113
commit b3de68050c
2 changed files with 2 additions and 0 deletions
@@ -339,6 +339,7 @@ class CollectionAdapter(
/* Shows / hides the edit view for a station */
/* TODO: Remove @SuppressLint("NotifyDataSetChanged"), remove NotifyDataSetChanged */
@SuppressLint("NotifyDataSetChanged")
private fun toggleEditViews(position: Int, stationUuid: String) {
when (stationUuid) {
@@ -73,6 +73,7 @@ class FindStationDialog (
/* Overrides onRadioBrowserSearchResults from RadioBrowserSearchListener */
/* TODO: Remove @SuppressLint("NotifyDataSetChanged"), remove NotifyDataSetChanged */
@SuppressLint("NotifyDataSetChanged")
override fun onRadioBrowserSearchResults(results: Array<RadioBrowserResult>) {
if (results.isNotEmpty()) {