You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.
Because we remove the adapter on detach, we can't save after the view is detached (another library I'm using performs the save there, so it's not ideal for me).
A tweak which shouldn't adversely affect anything would be to updateFirstAdapterPosition() in onDetachedFromWindow before removing the adapter, and then we can wrap the call to update in onSaveInstanceState to only occur if the adapter is not null.
The text was updated successfully, but these errors were encountered:
Because we remove the adapter on detach, we can't save after the view is detached (another library I'm using performs the save there, so it's not ideal for me).
A tweak which shouldn't adversely affect anything would be to updateFirstAdapterPosition() in onDetachedFromWindow before removing the adapter, and then we can wrap the call to update in onSaveInstanceState to only occur if the adapter is not null.
The text was updated successfully, but these errors were encountered: