app / com.otago.open / MarkViewFragment

MarkViewFragment

class MarkViewFragment : Fragment

A Fragment to view marks. Uses a WebView

Types

MarkJS

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

class MarkJS

Constructors

<init>

A Fragment to view marks. Uses a WebView

MarkViewFragment()

Functions

onCreateView

Entry point of MarkViewFragment

fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View?

onSaveInstanceState

Handles saving the instance state of this fragment e.g. when rotating the screen

fun onSaveInstanceState(outState: Bundle): Unit

onViewCreated

Handles the creation of the views. Displays the marks

fun onViewCreated(view: View, savedInstanceState: Bundle?): Unit