-
Notifications
You must be signed in to change notification settings - Fork 551
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
After filtering events in Search, Action bar title is incorrect #1896
Comments
When I tick on the tick icon in FilterFragment (redirect to SearchResultsFragment) -> Here is the log from SearchResultsFragment and SearchFragment. It shows that SearchFragment still calls its method in the backstack... You have any ideas on this??
|
@anhanh11001 Search fragment is still running in the background. When we open search fragment, onCreate and onCreateView called. After redirecting to search results, onDestroyView is called, so after returning onCreateView is called not onCreate again. So the fragment is running in the back stack because of onDestroy of the fragment never calls. |
I need some helps here as I couldn't find way to solve this issue, I'm not sure if you understand the logs above. So when I make a filter from SearchFilterFragment (clicking tick icon), this action is taken
here is what happens:
|
Set it to false. And use |
It is using |
Have you tried? |
The same problem is fixed in PR #1922 |
I have tried.
I'll take a look at that |
Yes I also got the same problem while using |
Details: - This is just a dirty fix. The cause of the issue is due to methods (onCreate(), onCreateView(),...) of the fragment in backstack is somehow called. Fixes: #1896
Describe the bug
After filtering events in Search, Action bar title is incorrect
Screenshots
![ezgif-2-74b99c2ef8a1](https://camo.githubusercontent.com/458d6da6bad6889c5e6c858a9f4c2aa09b4dca713623f9cbd0fd7300b2267fcf/68747470733a2f2f692e6962622e636f2f63384b7252595a2f657a6769662d322d3734623939633265663861312e676966)
Would you like to work on the issue?
Yes
The text was updated successfully, but these errors were encountered: