ui.data.ActiveList.reset
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zastępuje wszystkie elementy na liście nową listą lub, jeśli nie podano listy, usuwa wszystkie elementy z listy.
Zwraca elementy na liście po zastosowaniu resetowania.
Wykorzystanie | Zwroty |
---|
ActiveList.reset(list) | List<Object> |
Argument | Typ | Szczegóły |
---|
to: ui.data.activelist | ui.data.ActiveList | Instancja ui.data.ActiveList. |
list | List<Object>, opcjonalnie | Lista elementów. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],["The `ActiveList.reset()` method modifies an `ActiveList` instance. It either replaces all existing elements with a provided list or, if no list is given, removes all elements. The method returns the updated list after this replacement or removal. It accepts an optional `list` argument, which should be a list of elements. The target instance for this method is a `ui.data.ActiveList` object.\n"],null,[]]