ripe / com.ripe.android.base

Package com.ripe.android.base

Types

Interactable

open class Interactable : Observable

An entity that reactively represents a Ripe instance.

Observable

open class Observable

An object that emits events. Listeners can bind to specific events and be notified when the event is triggered.

Ripe

class Ripe : Observable

Represents a customizable model. The options map supports the following keys:

Type Aliases

ObservableCallback

typealias ObservableCallback = (args: Map<String, Any>) -> Deferred<Any?>?

A function to be executed when an event. It receives a dictionary with the response as parameter and returns a deferred result which is completed asynchronously.