---
title: "Discussion on \"Composite Pattern\" | Hashnode"
description: "Discussion on \"Composite Pattern\". The composite design pattern allows us to create a tree structure of objects. The key idea with the pattern is that given a root component, we can access all nodes in the structure. Such access is granted using a common interface that refers to eithe..."
url: "https://hashnode.com/posts/composite-pattern/643da22ffb5182f7b47067ad"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Composite Pattern](https://charlesmuchene.com/composite-pattern?utm_source=hashnode&utm_medium=feed)

The composite design pattern allows us to create a tree structure of objects. The key idea with the pattern is that given a root component, we can access all nodes in the structure. Such access is granted using a common interface that refers to eithe...

Apr 17, 2023 · 5 min read · charlesmuchene.com  
Read the article

-   [#android](https://hashnode.com/tag/android)
-   [#view](https://hashnode.com/tag/view)
-   [#kotlin](https://hashnode.com/tag/kotlin)
-   [#composite-design-pattern](https://hashnode.com/tag/composite-design-pattern)
-   [#viewgroup](https://hashnode.com/tag/viewgroup)

## Written by

[Charles Muchene](https://hashnode.com/@charlesmuchene)

@charlesmuchene · Austin, TX

  
[View profile](https://hashnode.com/@charlesmuchene)

Software Engineer

Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
