Skip to content

Directly call SearchContentsRepository interface in SearchViewModel#1284

Merged
dturner merged 2 commits intoandroid:mainfrom
sanao1006:remove-GetSearchContentsCountUseCase
Mar 26, 2024
Merged

Directly call SearchContentsRepository interface in SearchViewModel#1284
dturner merged 2 commits intoandroid:mainfrom
sanao1006:remove-GetSearchContentsCountUseCase

Conversation

@sanao1006
Copy link
Copy Markdown
Contributor

@sanao1006 sanao1006 commented Mar 15, 2024

What I have done and why
from this discussion

  • Remove GetSearchContentsCountUseCase.
  • Remove GetSearchContentsCountUseCase from SearchViewModel.
  • Remove GetSearchContentsCountUseCase from SearchViewModelTest.

Fixes #1283

note

when the formatting by spotless was done, the code was modified in a part of the code that has practically nothing to do with this PR (collectJob part).

…hViewModel

- Remove GetSearchContentsCountUseCase.
- Remove GetSearchContentsCountUseCase from SearchViewModel.
- Remove GetSearchContentsCountUseCase from SearchViewModelTest.

Fixes android#1283
@sanao1006 sanao1006 marked this pull request as ready for review March 15, 2024 00:31
@dturner dturner merged commit 88c3eb0 into android:main Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GetSearchContentsCountUseCase should not exist

2 participants