public class SwipeBackSupport
- Object
- SwipeBackSupport
Allows binding a swipe listener to the form that enables the user to swipe back to the previous
form.
Constructors
public SwipeBackSupport() |
Methods
public static void bindBack(Form currentForm, LazyValue<Form> destination) | Binds support for swiping to the given forms |
public static void bindBack(LazyValue<Form> destination) | Binds support for swiping to the current form |
protected void bind(Form currentForm, LazyValue<Form> destination) | Binds support for swiping to the given forms |
Inherited methods
Constructor details
SwipeBackSupport
public SwipeBackSupport()Method details
bindBack
public static void bindBack(Form currentForm, LazyValue<Form> destination)Binds support for swiping to the given forms
Parameters
currentFormForm- the current form
destinationLazyValue<Form>- the destination form which can be created lazily
bindBack
public static void bindBack(LazyValue<Form> destination)Binds support for swiping to the current form
Parameters
destinationLazyValue<Form>- the destination form which can be created lazily
bind
protected void bind(Form currentForm, LazyValue<Form> destination)Binds support for swiping to the given forms
Parameters
currentFormForm- the current form
destinationLazyValue<Form>- the destination form which can be created lazily