Closed joec58 closed 2 years ago
In task 12 "Adding List Separators", for method SearchRepositoriesViewModel.searchRepo we are given code has undeclared variables:
SearchRepositoriesViewModel.searchRepo
val lastResult = currentSearchResult if (queryString == currentQueryValue && lastResult != null) { return lastResult } currentQueryValue = queryString
at the being of of the method and
currentSearchResult = newResult return newResult
at the end.
These lines are not in the GitHub code for this exercise.
@joec58 thanks for pointing this out! Fixing it ASAP
Fixed.
In task 12 "Adding List Separators", for method
SearchRepositoriesViewModel.searchRepo
we are given code has undeclared variables:at the being of of the method and
at the end.
These lines are not in the GitHub code for this exercise.