mirror of
https://github.com/Michatec/Radio.git
synced 2026-05-31 00:42:40 +02:00
refactor(collection): add TODO for notifyDataSetChanged cleanup
This commit is contained in:
@@ -339,6 +339,7 @@ class CollectionAdapter(
|
|||||||
|
|
||||||
|
|
||||||
/* Shows / hides the edit view for a station */
|
/* Shows / hides the edit view for a station */
|
||||||
|
/* TODO: Remove @SuppressLint("NotifyDataSetChanged"), remove NotifyDataSetChanged */
|
||||||
@SuppressLint("NotifyDataSetChanged")
|
@SuppressLint("NotifyDataSetChanged")
|
||||||
private fun toggleEditViews(position: Int, stationUuid: String) {
|
private fun toggleEditViews(position: Int, stationUuid: String) {
|
||||||
when (stationUuid) {
|
when (stationUuid) {
|
||||||
|
|||||||
@@ -73,6 +73,7 @@ class FindStationDialog (
|
|||||||
|
|
||||||
|
|
||||||
/* Overrides onRadioBrowserSearchResults from RadioBrowserSearchListener */
|
/* Overrides onRadioBrowserSearchResults from RadioBrowserSearchListener */
|
||||||
|
/* TODO: Remove @SuppressLint("NotifyDataSetChanged"), remove NotifyDataSetChanged */
|
||||||
@SuppressLint("NotifyDataSetChanged")
|
@SuppressLint("NotifyDataSetChanged")
|
||||||
override fun onRadioBrowserSearchResults(results: Array<RadioBrowserResult>) {
|
override fun onRadioBrowserSearchResults(results: Array<RadioBrowserResult>) {
|
||||||
if (results.isNotEmpty()) {
|
if (results.isNotEmpty()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user