All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yandex.div.evaluable.FunctionProvider.kt Maven / Gradle / Ivy

Go to download

DivKit is an open source Server-Driven UI (SDUI) framework. SDUI is a an emerging technique that leverage the server to build the user interfaces of their mobile app.

There is a newer version: 30.27.0
Show newest version
package com.yandex.div.evaluable

/**
 * Interface for providing functions.
 */
interface FunctionProvider {

    fun get(name: String, args: List): Function

    fun getMethod(name: String, args: List): Function

    companion object {
        @JvmField
        val STUB = object : FunctionProvider {
            override fun get(name: String, args: List) = Function.STUB
            override fun getMethod(name: String, args: List): Function = Function.STUB
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy