Skip to content

[UseCase] Segmented Watchlist Flow #43

@mukesh-5059

Description

@mukesh-5059

Difficulty: Hard
Location: app/src/main/java/com/example/movies_db/domain/usecase/GetWatchlistUseCase.kt
Description:
The UseCase should expose a specific API for the UI.

  • Instead of returning one list, it might need to return a wrapper object WatchlistData(released: List<Movie>, upcoming: List<Movie>) or offer two separate Flow functions.
  • Ensure efficient SQL streaming (don't re-query everything if only one item changes).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions