Método DocsView.setIncludeFolders
Mostrar carpetas en los elementos de la vista No lo combines con setOwnedByMe
. Cuando se configura setIncludeFolders(true)
, se ignora setOwnedByMe
.
Si no configuras esta opción, las carpetas no se mostrarán en la vista.
Firma
setIncludeFolders(included: boolean): DocsView;
Detalles
Opcional |
No |
Final |
No |
Protegido |
No |
Estático |
No |
Parámetros
Nombre |
Tipo |
Opcional |
Descripción |
included |
boolean |
No |
|
Muestra
DocsView
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2024-11-08 (UTC)
[null,null,["Última actualización: 2024-11-08 (UTC)"],[[["The `setIncludeFolders` method controls the display of folders within the view items, and if set to `true`, it overrides the `setOwnedByMe` setting."],["By default, folders are not displayed in the view unless you explicitly enable them using this method."],["This method is a non-final, non-protected, and non-static member of the `DocsView` class and accepts a boolean parameter indicating whether to include folders."],["Utilizing `setIncludeFolders`, developers can manipulate the visibility of folders within the `DocsView` and ultimately refine the user's document browsing experience."]]],["The `setIncludeFolders(included: boolean)` method controls folder visibility in the view items. Setting `included` to `true` displays folders; otherwise, folders are hidden. When `setIncludeFolders(true)` is applied, the `setOwnedByMe` setting is disregarded. This method returns a `DocsView` object, is non-optional, and requires a boolean `included` parameter to function. It is not a final, protected, or static method.\n"]]