Sailfish Pickers
API DocumentationSailfish Pickers Reference
Pickers are grouped to Picker pages and Picker dialogs that are designed for Sailfish applications.
Picker are used with PageStack. The PageStack dictates lifecycle of a picker unless the picker is explicitly instantiated elsewhere.
It is recommended to push a picker to the PageStack as a component or a url so that PageStack can take care of the lifecycle. Each picker reports selected content before it is being destroyed, no matter if you are picking single or multiple files.
Picker pages
Picker pages allow users to select one file at the time.
A content picker that groups pickers under one picker page | |
A document picker for selecting a single document file | |
A download picker for selecting a single downloaded file | |
A file picker for selecting a file | |
A folder picker page for selecting a file | |
An image picker for selecting a single image file | |
A music picker for selecting a single music file | |
A video picker for selecting a single video file |
Picker dialogs
Picker dialogs allow users to select multiple files. The user can accept a picker dialog — that is, confirm user selection, and proceed — by pushing the dialog from right to left, or tapping the accept text located at the top-right corner of the dialog. Conversely, the user can reject the picker dialog, signaling a rejected selection, by pushing the picker dialog from left to right, or tapping the reject text that is located at the top-left corner of the dialog.
A folder picker dialog for selecting a directory path | |
A multi-content picker that groups all the supported picker types under one dialog | |
A document picker for selecting multiple document files | |
A download picker for selecting multiple downloaded files | |
A file picker for selecting multiple files | |
An image picker for selecting multiple image files | |
A music picker for selecting multiple music files | |
A video picker for selecting multiple video files |