cashapp / redwood

Multiplatform reactive UI for Android, iOS, and web using Kotlin and Jetpack Compose
https://cashapp.github.io/redwood/0.x/docs/
Apache License 2.0
1.63k stars 70 forks source link

Rename this type to something else, along with ProtocolFactory which needs a rew... #1875

Closed github-actions[bot] closed 2 weeks ago

github-actions[bot] commented 6 months ago

to behave more like the guest-side ProtocolBridge and its companion.

https://github.com/cashapp/redwood/blob/0a1c6dada26911022374b883deff5844105e18e3/redwood-treehouse-host/src/commonMain/kotlin/app/cash/redwood/treehouse/TreehouseView.kt#L44


    public fun performSave(id: String)
  }

  // TODO Rename this type to something else, along with ProtocolFactory which needs a rewrite
  //  to behave more like the guest-side ProtocolBridge and its companion.
  @ObjCName("TreehouseViewWidgetSystem", exact = true)
  public fun interface WidgetSystem<W : Any> {
    /** Returns a widget factory for encoding and decoding changes to the contents of [view]. */
JakeWharton commented 6 months ago

Should be handled by #1041