-
Notifications
You must be signed in to change notification settings - Fork 758
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix issue 4600 that search results sometimes are not displayed properly #4601
Conversation
@@ -54,10 +54,6 @@ class SearchResultController @Inject constructor( | |||
fun loadMore() | |||
} | |||
|
|||
init { | |||
setData(null) | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think yes, they should be removed. I will update the PR and test those screens
After a discussion with @ganfra this code was added for performance reason (it should have deserve some more comments), to not block the UI thread if the controller has many items to compute. It is maybe not necessary anymore, but how can we be certain of that? |
Yes that will make the |
Fixing issue #4600