all: use notifyItemChanged everywhere

Apply the notifyItemChanged fix everywhere by making it an explicit
part of the RecyclerView framework.

This way, implementing future selection and rewrite behavior will be
much easier, as the payload argument is available in every adapter
implementation.
This commit is contained in:
OxygenCobalt
2022-06-02 10:42:33 -06:00
parent 10afae0bfc
commit e73d10070b
11 changed files with 123 additions and 69 deletions
+2
View File
@@ -9,9 +9,11 @@
- Fixed crash when seeking to the end of a track as the track changed to a track with a lower duration
- Fixed regression where GadgetBridge media controls would no longer work
- Fixed issue where the album/artist/genre would not be correctly restored
- Fixed issue where items would not highlight properly in the detail UI
#### Dev/Meta
- Switched from `LiveData` to `StateFlow`
- Use `notifyItemChanged` instead of directly mutating `ViewHolder` instances.
## v2.3.0