Skip to content

Commit

Permalink
Make TreehouseView implement RedwoodView (#1469)
Browse files Browse the repository at this point in the history
  • Loading branch information
veyndan authored Sep 11, 2023
1 parent 7dcf7c1 commit e9a5c4d
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,12 @@ package app.cash.redwood.treehouse

import app.cash.redwood.protocol.widget.ProtocolMismatchHandler
import app.cash.redwood.protocol.widget.ProtocolNode
import app.cash.redwood.ui.UiConfiguration
import app.cash.redwood.widget.Widget
import app.cash.redwood.widget.RedwoodView
import kotlin.native.ObjCName
import kotlinx.coroutines.flow.StateFlow
import kotlinx.serialization.json.Json

@ObjCName("TreehouseView", exact = true)
public interface TreehouseView<W : Any> {
public val children: Widget.Children<W>
public val uiConfiguration: StateFlow<UiConfiguration>
public interface TreehouseView<W : Any> : RedwoodView<W> {
public val widgetSystem: WidgetSystem<W>
public val readyForContent: Boolean
public var readyForContentChangeListener: ReadyForContentChangeListener<W>?
Expand Down

0 comments on commit e9a5c4d

Please sign in to comment.