Skip to content

[VM] SearchViewModel Filter Logic Integration #44

@mukesh-5059

Description

@mukesh-5059

Difficulty: Hard
Location: app/src/main/java/com/example/movies_db/ui/viewmodel/SearchViewModel.kt
Description:

  • Combine query text, genre selection, year, and rating sliders into a single MovieFilter object.
  • Debounce the search input (300ms) to avoid API spam.
  • Trigger the Repository search and handle the Resource states (Loading/Success/Error/Empty) seamlessly in the UI.

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