onInflate

open override fun onInflate(context: Context, attrs: AttributeSet, savedInstanceState: Bundle?)

This is called when the fragment's UI is created. This method parses the given attributes and sets the map options accordingly.

Parameters

context

The context the fragment is currently running in.

attrs

The attributes of the XML tag that is inflating the fragment.

savedInstanceState

If the fragment is being recreated from a previous saved state, this is the state.