on Released
Changes the pressed state of the key.
Toggled state of the key will be flipped when all the following conditions are fulfilled:
- This is a sticky key, that is, sticky is
{@code true}. - The parameter
{@code inside}is{@code true}. - SDK_INT is greater than LOLLIPOP_MR1.
See also
#onPressed()
#onPressed()
Parameters
inside
whether the finger was released inside the key. Works only on Android M and later. See the method document for details.