Skip to content

Workaround listview crash in split window mode#3114

Merged
simonpoole merged 2 commits intomasterfrom
workaround_listview_crash_in_split_window_mode
Feb 12, 2026
Merged

Workaround listview crash in split window mode#3114
simonpoole merged 2 commits intomasterfrom
workaround_listview_crash_in_split_window_mode

Conversation

@simonpoole
Copy link
Collaborator

The CursorAdapter used in TagFilterActivity will crash in getView when starting split window mode when the activity is running, this is likely a bug in ListView. In any case it happens before onConfigurationChange is called or the activity is recreated.

To fix we check if the Cursor is closed in getView and if necessary recreate it.

The CursorAdapter used in TagFilterActivity will crash in getView when
starting split window mode when the activity is running, this is likely
a bug in ListView. In any case it happens before onConfigurationChange
is called or the activity is recreated. To fix we check if the Cursor is
closed in getView and if necessary recreate it.
@simonpoole simonpoole merged commit 279233b into master Feb 12, 2026
3 checks passed
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.

1 participant