Skip to main content

commit

Function commit 

Source
pub fn commit()
Expand description

Finish a gesture that committed.

The progress runs to 1.0 over the remaining fraction of the transition while the runner holds the back dispatch: Android commits at roughly a third of the drag, so dispatching at once would cut the screen out mid-transition. commit_settled reports when the screen has finished leaving.