Skip to content

embeddedManager?.addUpdateListener(Update()) #739

@wlynnlt

Description

@wlynnlt

I am passing in the interface object, BUT there are SO MANY scenarios where you never call any of those methods back.
WHY WHY WHY are you asking the API user to pass in an IterableEmbeddedUpdateHandler
if you never call them back.
PLEASE make this callback no matter what,

class Update : IterableEmbeddedUpdateHandler {
override fun onEmbeddedMessagingDisabled() {
println("calling onEmbeddedMessagingDisabled()")
callback()
}

        override fun onMessagesUpdated() {
            println("calling onMessagesUpdated()")
            callback()
        }
    }

embeddedManager?.addUpdateListener(Update())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions