Skip to content
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

let the async code in fragments heed the fragment's view lifecycle #3339

Merged
merged 3 commits into from
Oct 4, 2021

Conversation

westnordost
Copy link
Member

, ... not the general lifecycle. Unfortunately, there is a difference. I.e. the view is removed before the fragment is destroyed and can (theoretically?) also be recreated without the fragment being recreated. Since basically any code in fragments is view-related, this is almost a search&replace

, ... not the general lifecycle. Unfortunately, there is a difference. I.e. the view is removed before the fragment is destroyed and can (theoretically?) also be recreated without the fragment being recreated. Since basically any code in fragments is view-related, this is almost a search&replace
# Conflicts:
#	app/src/main/java/de/westnordost/streetcomplete/settings/questselection/QuestPresetsFragment.kt
# Conflicts:
#	app/src/main/java/de/westnordost/streetcomplete/map/MapFragment.kt
@westnordost westnordost merged commit d677942 into master Oct 4, 2021
@FloEdelmann FloEdelmann deleted the heed_view_lifecycle branch October 5, 2021 16:46
@FloEdelmann FloEdelmann added the hacktoberfest-accepted pull request that should be treated as eligible for Hacktoberfest event label Oct 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted pull request that should be treated as eligible for Hacktoberfest event
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants