Android Integration

The plugin is packaged as AAR file and complies with Android SKD Level 31, and min support Android SDK Level 21. Please download the below file

file-download
258KB

The SparkYouWebView class constructor receive these parameters

  • Param context : The Android context to start web view intent

  • Param url: The SparkYou web url

  • Param delegate : The SparkYouWebViewDelegate delegate

  • Param showProgressBar: To enable/disable the top progress bar while the web view is loading

class SparkYouWebView(
    context: Context,
    url: String,
    delegate: SparkYouWebViewDelegate,
    showProgressBar: Boolean? = true
) {
    init {
        ...
    }
}

Below is the SparkYouWebViewDelegate interface

Last updated