feat: add TreeViewItem component and Gallery samples - #161
Open
Sanlorng wants to merge 1 commit into
Open
Conversation
Sanlorng
force-pushed
the
components/tree_view
branch
from
August 10, 2026 04:00
c305f86 to
8b297d5
Compare
Sanlorng
marked this pull request as ready for review
August 10, 2026 04:04
There was a problem hiding this comment.
Pull request overview
Adds a reusable hierarchical TreeViewItem component and Gallery demonstrations.
Changes:
- Adds leaf and expandable tree-item overloads.
- Supports indentation, icons, checkboxes, selection, and transitions.
- Adds standard, checkbox, and configurable Gallery samples.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
TreeViewItemScreen.kt |
Adds tree datasets and interactive Gallery samples. |
TreeViewItem.kt |
Implements the new tree-item component and defaults. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Sanlorng
force-pushed
the
components/tree_view
branch
from
August 10, 2026 05:01
8b297d5 to
1e0ae86
Compare
Sanlorng
marked this pull request as draft
August 10, 2026 05:02
Sanlorng
force-pushed
the
components/tree_view
branch
from
August 11, 2026 13:18
38516b4 to
619eced
Compare
Sanlorng
marked this pull request as ready for review
August 11, 2026 14:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
TreeViewItemoverloads for leaf and expandable items.TreeNodedataset.PixPin_2026-08-10_11-46-09.mp4
Behavior
selectedto checkbox state; indeterminate parent nodes remain unselected.animateItem()for expansion and collapse changes.Review fixes
Validation
./gradlew :fluent:compileCommonMainKotlinMetadata :gallery:sharedApp:compileCommonMainKotlinMetadatagit diff --checkGradle/build-script changes in the local checkout are intentionally excluded from this PR.