app / com.otago.open / MarkViewFragment / MarkJS

MarkJS

class MarkJS

Android JavaScript interface for setting the visibility of the WebView only once most of the COSC website has been deleted

Parameters

markView - The WebView to hide / show

httpBar - The ProgressBar to show / hide

activity - The activity (required to call run things on the UI thread)

Constructors

<init>

Android JavaScript interface for setting the visibility of the WebView only once most of the COSC website has been deleted

MarkJS(markView: WebView, httpBar: ProgressBar, activity: MainActivity)

Functions

jsDone

A JavaScript interface for running when the loadUrl JS has run

fun jsDone(): Unit