Skip to content

Artist Images aren't being rendered on the Recently Played Tracks List #1

@5fcgdaeb

Description

@5fcgdaeb

Description

The artist images aren't being rendered on the Recently Played Tracks List; only the the name, artists and the date fields are there. This occurs because the Observable for RecentlyPlayedTracks returns before the URLs are set for the tracks.

Expected Behavior

Artist images should be displayed underneath the album name.

Actual Behavior

Artist images are not displayed.

Steps to Reproduce the Problem

  1. Run the app
  2. Click on recently played tracks
  3. Artist images aren't being displayed in cells

Possible solution

Look into the scan operator. You can look at NewReleasesViewModel.swift for reference on how to use scan to append the results of Observables with each other. The correct solution would involve waiting for each call to the Observable return before setting the URLs for the tracks.

Specifications

  • XCode Version: 11

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions