Skip to content

Commit

Permalink
Cancel Toolbar animation on page detach
Browse files Browse the repository at this point in the history
  • Loading branch information
saket committed Jul 30, 2019
1 parent 4a36744 commit b70c000
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ open class ExpandablePageLayout @JvmOverloads constructor(
internalStateCallbacksForNestedPage = InternalPageCallbacks.NoOp()
internalStateCallbacksForRecyclerView = InternalPageCallbacks.NoOp()
stateChangeCallbacks.clear()
stopAnyOngoingPageAnimation()
super.onDetachedFromWindow()
}

Expand Down

0 comments on commit b70c000

Please sign in to comment.