Metode PickerBuilder.setMaxItems
Menetapkan jumlah item maksimum yang dapat dipilih pengguna.
Tanda Tangan
setMaxItems(max: number): PickerBuilder;
Detail
Opsional |
Tidak |
Final |
Tidak |
Dengan kontrasepsi |
Tidak |
Statis |
Tidak |
Parameter
Nama |
Jenis |
Opsional |
Deskripsi |
max |
number |
Tidak |
|
Hasil
PickerBuilder
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-11-07 UTC.
[null,null,["Terakhir diperbarui pada 2024-11-07 UTC."],[[["Sets the maximum number of items a user can select in a picker."],["This method is not optional, final, protected, or static."],["It accepts a single required parameter, `max`, which is a number representing the maximum selectable items."],["Using this method returns a `PickerBuilder` object for further configuration."]]],[]]