|
@@ -262,7 +262,9 @@ extension PQStuckPointMusicContentController: UICollectionViewDelegate, UICollec
|
|
} else if contentType != .catagery {
|
|
} else if contentType != .catagery {
|
|
(itemList[indexPath.item] as? PQVoiceModel)?.isPlaying = !((itemList[indexPath.item] as? PQVoiceModel)?.isPlaying ?? false)
|
|
(itemList[indexPath.item] as? PQVoiceModel)?.isPlaying = !((itemList[indexPath.item] as? PQVoiceModel)?.isPlaying ?? false)
|
|
(itemList[indexPath.item] as? PQVoiceModel)?.isSelected = true
|
|
(itemList[indexPath.item] as? PQVoiceModel)?.isSelected = true
|
|
- collectionView.reloadItems(at: [indexPath])
|
|
|
|
|
|
+ let cell = collectionView.cellForItem(at: indexPath) as? PQStuckPointMusicContentCell
|
|
|
|
+ cell?.bgmData = itemList[indexPath.item]
|
|
|
|
+// collectionView.reloadItems(at: [indexPath])
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if contentType == .catagery {
|
|
if contentType == .catagery {
|